molo-m / polygon-area-calculator Goto Github PK
View Code? Open in Web Editor NEWIn this project I used object oriented programming to create a Rectangle class and a Square class. The Square class should be a subclass of Rectangle and inherit methods and attributes.