Vidyalelo
Computer Science · Q298

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 298

Q298

The program can access the private members of a class

A.
directly
B.
only through other private members of the class
C.
only through other public members of the class
Answer
D.
None of the above - the program cannot access the private members of a class in any way

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board