Parent class Object address in Java | Core Java Training

This Core Java Training “Parent class Object address in Java” is providing clear information about how JVM instantiates Parent object in the child object creation and how to display Parent’s object.


 

Parent’s Object Address:

  • JVM instantiates Parent while instantiating Child.
  • All the objects will not get individual memory locations.
  • The complete functionality of all the objects in the hierarchy resides in a single object.
  • Parent class doesn’t have separate memory address.

Parent’s Object address in Java



 

Share this