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.

Parameterized constructors - Manipuri

722 visits



Outline:

Parameterized Constructor *What is a parameterized constructor? *create constructor without parameter *create a constructor with parameter *assign values to the variables in the constructor *pass arguments during the constructor call *working of parameterized constructor *show common errors *resolve the errors *create another parameterized constructor *why to use constructor?