Abstract Base Classes Exercises
|
< Previous Next > |
- Pure Virtual Methods
- Change the following prototype to be a pure virtual method:
void draw();
- What new requirements are introduced by making the method a pure virtual method?
- Think of at least three real world examples where an abstract base class would be appropriate. Share them with your neighbor(s).