Default Constructor

A constructor is a member function of a class that is automatically called, when an object is created of that class.It (the constructor) has the same name as that of the class’s name.A constructor that accept no parameter is called default constructor.

Page 7 of 7