Computer Science, asked by nehabisht20, 6 months ago

WAP a program with overloaded functions that computes area of circle, rectangle and square.​

Answers

Answered by Anonymous
2

Answer:

Java Program to Find Area of Square,Rectangle and Circle using Method Overloading

class OverloadDemo.

void area(float x)

System. out. println("the area of the square is "+Math. ...

void area(float x, float y)

System. out. ...

void area(double x)

double z = 3.14 * x * x;

System. out.

Answered by DumAssAmi
0

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.

Similar questions