M

Mr. Dubey • 52.30K Points
Coach

Q. What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero-argument constructor?

(A) compile-time error
(B) preprocessing error
(C) runtime error
(D) runtime exception
Correct : Option (A)

Share

Discusssion

Login to discuss.

Be the first to start discuss.