user image

Gagan Mishra

Job Interview Skills
English
2 years ago

Question 594. Overloaded Constructor Will Call Default Constructor Internally?

user image

Abhishek Mishra

2 years ago

A default constructor cannot be overloaded in the same class. This is because once a constructor is defined in a class, the compiler will not create the default constructor. Thus, an attempt to overload the default constructor will effectively remove it from the class. The constructor must not use a different name.

Recent Doubts

Close [x]