Explore topic-wise MCQs in Object Oriented Programming Using C++.

This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Object Oriented Programming Using C++ knowledge and support exam preparation. Choose a topic below to get started.

1.

If all the classes used parameterized constructors and no default constructor then ___________

A. The object of lower level classes can t be created
B. Object of lower level classes must call parent class constructors explicitly
C. Object of lower level classes must define all the default constructors
D. Only object of first class can be created, which is first parent
Answer» C. Object of lower level classes must define all the default constructors
2.

What is the minimum number of levels for a implementing multilevel inheritance?

A. 1
B. 2
C. 3
D. 4
Answer» D. 4