Shape Class

Understand the implementation of a Shape class.

We'll cover the following


Write a program to create a class called Shape that can calculate the perimeter/circumference and area of a regular shape. The class should also have a provision to accept the data relevant to the shape.

Get hands-on with 1200+ tech skills courses.