MCQOPTIONS
Saved Bookmarks
| 1. |
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» D. both a and b | |