Computer Science, asked by rajeswaripurohit1, 8 months ago

wap to find the area of a square, rectangle, circle using constructor overloadin


write the proper program..... not the formula ​

Answers

Answered by surbhikushwaha17
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