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;

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

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 Databases Questions!