- Organization of the class hierarchy (Superclass: figure, subclasses: triangle, square);
- Implementation of interface with 2 methods;
- Creation of class for working with array of objects which allows to store objects of both subclasses.
Extension of lab 1 and 2 on inheritance