Difference between object and instance in java?

9/11/2019 5:07:45 PM


4 Answers

New Answer


An object is an instance of a class.


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


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.


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