Shapes Program

This is a small application utilizing interfaces and abstract classes that I created for my Java class. There is an interface called sided object and an abstract class called geometric figure that have the square and triangle classes extending and implementing them respectively. The program prints out how many sides there are for the two shapes.

Click to view code

shapes