wap to find the area of a square, rectangle, circle using constructor overloadin
write the proper program..... not the formula
Answers
Answered by
3
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.
Similar questions
Math,
4 months ago
India Languages,
4 months ago
Hindi,
10 months ago
English,
10 months ago
Hindi,
1 year ago
Social Sciences,
1 year ago