+ 11
Constructors are functions with the same name as the class name. They are used to initialize variables at the time of object creation. Constructors are not permitted to have a return type.
Also, there are two types of constructors.
1)Default-No arguments
2)Parameterized-Arguments taken



