Q. What will be the output of the following program? (Solved)
1. compilation error: display() cannot be accessed in application
2. compilation error:test class object cannot be accessed in function demo
3. compilation error: variable x is private in test
4. both a and b
- c. compilation error: variable x is private in test