Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(TCO 4) Consider the following class definitions.class bClass{public: void setX(

ID: 3645856 • Letter: #

Question

(TCO 4) Consider the following class definitions.class bClass{public: void setX(int); void print() const;private: int x;};class dClass: public bClass{public: void setXY(int, int); void print() const;private: int y;};Which of the following statements correctly redefines the member function print of bClass? (Points : 4) void dClass::print() const {dClass:print(); } void dClass::print() const { cout << endl; } void bClass::print() const { cout endl; } void dClass::print() const { bClass::print(); cout } 10. (TCO 4) Which of the following base class members is never inherited by a derived class, regardless of access attributes? (Points : 4) Mutator Accessor Constructor Data

Explanation / Answer

1oid dClass:v:print() 2.Mutator