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

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

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!