Question: If class A lists class B as a friend class, then, Group of answer choices the member functions in B can access all the public

If class A lists class B as a friend class, then, Group of answer choices the member functions in B can access all the public and protected members, but not the private members, in A. the member functions in B can access all the members in A. A and B can access each other members. B has a lower access privilege to A's members than A's child classes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!