test.java

来自「this sourse code for the hw problems in 」· Java 代码 · 共 11 行

JAVA
11
字号
public class test{
	
	public static void main(String[] args){
		Cylinder c =new Cylinder(5,20);
		System.out.println("The Length is : "+c.getlength()+"\n");
		System.out.println("The Radius is : "+c.getRadius()+"\n");
		System.out.println("The Area is : "+c.findArea()+" unit\n");
		System.out.println("The Volume is : "+c.findVolume()+" unit\n");
		System.out.println("The Surface Area is : "+c.surfaceArea()+" unit\n");
   	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?