上传者: l625705061 
                                    |
                                    上传时间: 2021-12-07 22:17:48
                                    |
                                    文件大小: 2KB
                                    |
                                    文件类型: -
                                
                            
                                
                            
                                关于求解圆柱圆锥的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);