

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 function among the following can t be accessed outside the class in java in same package? |
A. | public void show() |
B. | void show() |
C. | protected show() |
D. | static void show() |
Answer» D. static void show() | |
2. |
How many private member functions are allowed in a class? |
A. | Only 1 |
B. | Only 7 |
C. | Only 255 |
D. | As many as required |
Answer» E. | |