Default constructor must be defined, if parameterized constructor

default-constructor-must-be-defined-if-parameterized-constructor

Default constructor must be defined, if parameterized constructor is defined and the object is to be created without arguments.

A. True

B. False

I got this question during an online exam.

This interesting question is from Constructors in section Constructors and Destructors of Object Oriented Programming

Right answer is A. True

To explain I would say: If the object is create without arguments and only parameterized constructors are used, compiler will give an error as there is no default constructor defined. And some constructor must be called so as to create an object in memory.