Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Why super class object will not be created when child class object is created in java ?

user-image
Question added by Mohd shahnawaz khan , Associate Project , Cognizant Technology Solution
Date Posted: 2014/12/27
SYED ALTAF HUSSAIN
by SYED ALTAF HUSSAIN , Technology Analyst , infosys

Super class object is always created whenever a child class object is created, infact super class object will be created first even before create child class object (this  also referred as constructor chaining).

More Questions Like This