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

This section includes 4 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.

All the derived classes can access only a few members of base class that other derived classes can t access at same time, in hierarchical inheritance.

A. True
B. False
Answer» C.
2.

If one class have derived the base class privately then another class can t derive the base class publically.

A. True
B. False
Answer» C.
3.

How many classes must be there to implement hierarchical inheritance?

A. Exactly 3
B. At least 3
C. At most 3
D. At least 1
Answer» C. At most 3
4.

Do members of base class gets divided among all of its child classes?

A. Yes, equally
B. Yes, depending on type of inheritance
C. No, it s doesn t get divided
D. No, it may or may not get divided
Answer» D. No, it may or may not get divided