A constructor is a kind of member function that initializes an instance of its class. A constructor has the same name as the class and no return value. A constructor can have any number of parameters and a class may have any number of overloaded constructors.
every class contains constructor and destructor.
||
No comments:
Post a Comment
You will get Reply with in 24 hours