Constructors
The constructor is a special instance method which is executed automatically when an object of the class is created.
Characteristics
- It has the same name as that of the class.
- It does not have any return type.
September 10th, 2006 Admin Posted in Constructors No Comments »
Constructors
The constructor is a special instance method which is executed automatically when an object of the class is created.
Characteristics