Vidyalelo
Computer Science · Q263

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 263

Q263

If a base class member is private, then

A.
if a derived class uses the public access specifier, the data member becomes public
B.
if a derived class uses the protected access specifier, the data member becomes protected
C.
both (a) and (b)
D.
neither (a) nor (b)
Answer

Answer: Option D

Solution

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