Distinguish between an abstract and polymorphic classes.

      

Distinguish between an abstract and polymorphic classes.

  

Answers


Davis
An abstract class is a base class that contains at least one pure virtual function.A polymorphic class is one that contains at least one virtual function.
Githiari answered the question on February 5, 2018 at 10:23


Next: What is a pure virtual function in a computer program?
Previous: Is the following C++ fragment correct? If not, why not? class base { public: virtual int f(int a)=0; //... }; class derived : public base { public: int f(int a, int b) {return...

View More Computer Studies Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions