JAVA LANGUAGE
Choose another shape and create a class to represent it, similar to the Rectangle class. This class should extend the GeometricObject class and implement the Comparable interface. Add to the demo class to create a few instances of your new shape class and how those methods work.