Problem #437 C++ using OBJECT ORIENTED PROGRAMMING

Write a Java program to create a class called Shape with a method called getArea(). Create a subclass called Rectangle that overrides the getArea() method to calculate the area of a rectangle.

Your Solution