Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

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

user-image
Question added by palwi palwi , php developer , trancis
Date Posted: 2014/12/23
SYED ALTAF HUSSAIN
by 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

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.