Solved

What Will Be the Output of the Following Program

Question 13

Multiple Choice

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

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions