Introduction - If you have any usage issues, please Google them yourself
In the main program to dynamically create a triangular object and a rectangular object, and assigns the interface of the parent class, and then the perimeter and area of the dynamically generated objects polymorphic and displays basic information about the object.