请帮我修改一下程序
class Circle{
public static float PI=3.1415926F;
public float area(int r)
{
return PI*r*r;
}
public static void main(String[] arg)
{
Circle c=new Circle();
float a=c.area(Integer.parseInt(arg));
System.out.println("area is: "+a);
}
}
经调试,float a=c.area(Integer.parseInt(arg))语句错误。请问如何修改?