+13

Difference between object and instance in java?

9/11/2019 5:07:45 PM

Crystal!!!😎

4 Answers

New Answer

+6

An object is an instance of a class.

+6

Instance is a specific representation whereas object represent a set of instance

+2

Object represents a set of instances.But an instance represents the specific representation. For an example if we take living beings on the earth as a class.human is an object.But you and me are instances for human.

+1

They are the same. If you create an e object from class, it’s called instantiation.