Examveda
Examveda

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: Option D


Join The Discussion

Related Questions on Object Oriented Programming Using C Plus Plus

A default catch block catches

A. all thrown objects

B. no thrown objects

C. any thrown object that has not been caught by an earlier catch block

D. all thrown objects that have been caught by an earlier catch block