Question: 161 6. Assuming a class A is inherited from class B, which of the following attributes and methods of class B are inherited and which
161 6. Assuming a class A is inherited from class B, which of the following attributes and methods of class B are inherited and which are not? constructor, data members, operatoru, operators, destructor, friend functions [4] 7. Assuming that F is an object of a class X, that has a public member function print(), and pF is a pointer pointing to the object F. How can you call the function print() using the object F? and using the pointer PF
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
