Question: What mistake prevents the following class declaration from functioning properly as an abstract class? class shape { public: virtual double printo const; double area() const

What mistake prevents the following class declaration from functioning properly as an abstract class? class shape { public: virtual double printo const; double area() const { return base - height; } private: double base ; double height; }; Select one: a. There are no pure virtual functions b. it does not have a constructor c. There is a non-virtual function d. the virtual function is defined const
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
