Which Among The Following Is Correct #442
Which among the following is correct?
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 OOps Classes - Object Oriented Programming MCQ: Derived Class - Quiz No.1.
Which among the following is correct?
Friend function of derived class can access non-private members of base class
Friend function of base class can access derived class members
Friend function of derived class can access members of only derived class
Friend function can access private members of base class of a derived class