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
746
0
Do you find this helpful?
2

Discussion

No comments yet