Area Of Circle in Java

Class Circle
{

final double pi = 3.14159;
double r , ar;
void area()
{
System.out.println("Enter the radius:");
r=Float.parseFloat(System.console().readLine());
ar = pi * r* r;
System.out.println("area of the circle is:"+ ar);
}
public static void main(String args[])
{
Circle c = new Circle();
c.area();
}
}


Output:
Enter radius :
2
Area of the circle is:12.56