Question: Consider the following statements: class base { public: void print() const; void set(int, int); private: int a; int b; 3 class childClass: public base {

Consider the following statements: class base \{ public: void print() const; void set(int, int); private: int a; int b; 3 class childClass: public base \{ public: private: int c \}, Suppose that class childClass overrides the function print of the class base. What is the heading of the funciton print in the class childClass
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
