Computer Science, asked by veddixit30, 2 months ago

write a java program to calculate the area of square and circle​

Answers

Answered by BrainlyJossh
12

Explanation:

Java Program to Find Area of Square,Rectangle and Circle using Method Overloadingclass 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.


veddixit30: tell me answer
Answered by itscutegirl7
1

Explanation:

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.

{\huge{\fcolorbox{aqua}{navy}{\fcolorbox{yellow}{blue}{\bf{\color{yellow}{⫷thanks⫸}}}}}}

Similar questions