Object Oriented Programming Using C++ - Section 6 :: Discussion


18.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
Explanation:

Tutorial Link:
Published by:Michael Daani

Comments are not available

Post your comments here:

Optional

Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers