+ 14
Difference between object and instance in java?
3 Respostas
+ 7
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.