This program finds the area of square, rectangle and circle using method overloading. In this program we have three methods with same name area(), which means we are overloading area() method. By having three different implementation of area method, we are calculating the area of square, rectangle and circle.
- Area of the square: 37.21 sq units
- Area of the rectangle: 220.0 sq units
- Area of the circle: 116.8394 sq unit