Area Calculation Program using Abstraction

# Introduction In this lab, you need to create a program to calculate the area of a rectangle using abstraction and inheritance, where an abstract class called "Polygon" with an abstract method is created, and a "Rectangle" class is created that inherits from the "Polygon" class and calculates the area of a rectangle using a parameterized constructor and the implemented calculateArea() method.

|60 : 00

Click the virtual machine below to start practicing