

MCQOPTIONS
Saved Bookmarks
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. |
Which among the following is the correct advantage/disadvantage of nested classes? |
A. | Makes the code more complex |
B. | Makes the code unreadable |
C. | Makes the code efficient and readable |
D. | Makes the code multithreaded |
Answer» D. Makes the code multithreaded | |
2. |
Static nested classes doesn t have access to _________________ from enclosing class. |
A. | Private members |
B. | Protected members |
C. | Public members |
D. | Any other members |
Answer» E. | |