write a java program to calculate the area of square and circle
Answers
Answered by
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
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.
Similar questions