MCQOPTIONS
Saved Bookmarks
| 1. |
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» B. preprocessing error | |