Problem Statement
Which type of constructor takes no parameters and is provided automatically if no constructor is defined?
Explanation
A default constructor takes no arguments. Many OOP languages (for example Java or C++ when no constructor is defined) will automatically provide a default no-argument constructor to allow object creation without explicit parameters.
Practice Sets
This question appears in the following practice sets: