Abstract Base Classes Exercises

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

Last Modified: