Lab 3 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.