McqMate
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 |
View all MCQs in
Object Oriented Programming (OOP)No comments yet