Communiquez avec les autres et partagez vos connaissances professionnelles

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

Suivre

In java,which unit of the class gets called when the object of the class is created?

user-image
Question ajoutée par palwi palwi , php developer , trancis
Date de publication: 2014/12/23
SYED ALTAF HUSSAIN
par SYED ALTAF HUSSAIN , Technology Analyst , infosys

As Ervin said, Constructor is called to create an object, you can define your own constructors, 

If you do not define any constructors, java will create a default constructor, and that will be called when object is created.

 

 

More Questions Like This

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