Question: consider the following code snippet: class A public: AOC 3 }; class B: private Al }; a. class B will inherit all the data members

consider the following code snippet: class A public: AOC 3 }; class B: private Al }; a. class B will inherit all the data members of class A and make them private access b. class A will inherit only the private data members of class B c. class A will inherit all the data members of class B and make them private access d. class B will inherit only the private data members of class A age Finish attempt O
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
