Introduction - If you have any usage issues, please Google them yourself
A program for calculating the area and perimeter of various shapes.
The parent class Shape2D is an abstract class, which includes two methods for calculating perimeter and calculating area. Other shape circles (Circle), triangles (Triangle) and rectangles (Rectangle) are inherited from the Shape2D class. And Square inherits from the Rectangle class. Write test classes to calculate the area of these shapes.