

MCQOPTIONS
Saved Bookmarks
This section includes 3 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 a base class is added with a few new members, its subclass must also be modified. |
A. | True |
B. | False |
Answer» C. | |
2. |
Can we call methods of base class using the constructor of the derived class? |
A. | Yes, always |
B. | Yes, but not always |
C. | No, never |
D. | No, but we can call in some cases |
Answer» B. Yes, but not always | |
3. |
Which type of members can t be accessed in derived classes of a base class? |
A. | Protected |
B. | Private |
C. | Public |
D. | All can be accessed |
Answer» C. Public | |