private final double PI=3.1415;
public double accountGirth(double r){ return 2*PI*5.5;}public double accountArea(double r){ return PI*5.5*5.5;}
圆的面积和周长
原文:http://www.cnblogs.com/zr1636050087/p/7501843.html