Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

Default constructor - English

28608 visits



Outline:

Default Constructor *what is a constructor? *what is a default constructor? *when is it called? *define a constructor *initialize the variables *call the constructor *difference between constructor and method