Parameterized constructors - English

23456 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?