Exercise 5

Inheritance

  1. Form appropriate inheritance relations among the classes in the Drawing Editor example: Line, Circle, Rectangle and Point.

  2. Identify the operations and attributes of the resulting classes.



previous | next | start | contents | dictionary | help | evaluation

© Ericsson Telecom AB, 1995, Stockholm, Sweden