关于求解圆柱圆锥的JAVA程序。
public class yuanzhuyuanzhui
{
protected YuanZhu r;
protected YuanZhui rr;
protected class YuanZhu
{
public double height;
public double radius;
public YuanZhu(double height,double radius)
{
this.height = height;
this.radius = radius;
}
public YuanZhu(YuanZhu r)
{
this(r.height,r.radius);
2021-12-07 22:17:48
2KB
圆柱
圆锥
1