728by90ad

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


16.Which member can never be accessed by inherited classes?
A.Private member function
B.Public member function
C.Protected member function
D.All can be accessed
Answer:  Option  A
Explanation:

The private member functions can never be accessed in the derived classes. The access specifiers is of maximum security that allows only the members of self class to access the private member functions.

Tutorial Link:
Published by:Kiran Manzoor

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