![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Q. |
What will be the output of the following program? |
A. | compilation error: display() cannot be accessed in application |
B. | compilation error:test class object cannot be accessed in function demo |
C. | compilation error: variable x is private in test |
D. | both a and b |
Answer» C. compilation error: variable x is private in test |
View all MCQs in
Object Oriented Programming (OOP)No comments yet