关于求解圆柱圆锥的JAVA程序。publicclassyuanzhuyuanzhui{protectedYuanZhur;protectedYuanZhuirr;protectedclassYuanZhu{publicdoubleheight;publicdoubleradius;publicYuanZhu(doubleheight,doubleradius){this.height=height;this.radius=radius;}publicYuanZhu(YuanZhur){this(r.height,r.radius);