Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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

user-image
Question ajoutée par Mohd shahnawaz khan , Associate Project , Cognizant Technology Solution
Date de publication: 2014/12/27
SYED ALTAF HUSSAIN
par 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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?