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
Answer» A. compile-time error
2.3k
0
Do you find this helpful?
1

Discussion

No comments yet