字典翻译 问答 其它 【实现Java程序,包括两个类:圆柱类Cylinder和主类TestCylinder,求出圆柱体的侧面积、表面积和体积】
问题标题:
【实现Java程序,包括两个类:圆柱类Cylinder和主类TestCylinder,求出圆柱体的侧面积、表面积和体积】
问题描述:

实现Java程序,包括两个类:圆柱类Cylinder和主类TestCylinder,求出圆柱体的侧面积、表面积和体积

刘俊先回答:
  //Cylinder类publicclassCylinder{x05privatestaticfinaldoublePI=3.1415926;x05x05privatedoubleheight;x05//圆柱体的高x05privatedoubleradius;x05//底面半径x05x05publicdoublegetHeight(...
点击显示
其它推荐
热门其它推荐
  • 其它