Multiple choice

A constructor that accepts no parameters is called the ___________

  1. dynamic constructor

  2. parameterized constructor

  3. default constructor

  4. none of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A constructor that takes no arguments is known as the default constructor. If no constructor is defined, the compiler provides one automatically.