public class Circle
{
private double r;
public Circle(double number)
{
r=number;
}
public double Area()
{
return r*r*Math.PI;
}
public double length()
{
return 2*r*Math.PI;
}
}
public class test
{
Cirecle cirecle=new Circle(2);
double a=circle.Area();
double b=circle.length();
out.print(a+" "+b);
}