What is constructor?
Basically, constructor is the special type of function in class which can automatically called at the time of object creation.
constructor is the function which will called when we create any new object.
-Class name and constructor name should be same.
-There is no return type of constructor like void,int etc.
Type of constructor:
-Default constructor are those constrcutor in which we can not pass any argument.