Ex2: Subclasses and Superclasses - miguelneto1123/CES-22 GitHub Wiki

This project hold 4 classes: a superclass (Shape) and 3 subclasses (Circle, Square, Shape). It only illustrates inheritance and showcases Constructors and method overriding

Knowing how to use subclasses is useful to ease modifications because the more specific you get (i.e., the more subclasses you use), your methods can be more specific as well, making specific modifications easier to make.

This exercise was made with 4 commits