Shape Area and Perimeter Classes Create an abstract class called Shape and then inherit from it other shapes like diamond, rectangle, circle, triangle etc. Then have each class override the area and perimeter functionality to handle each shape type.
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Shape Area and Perimeter Classes Create an abstract class called Shape and then inherit from it other shapes like diamond, rectangle, circle, triangle etc. Then have each class override the area and perimeter functionality to handle each shape type.