?? math_test.txt
字號:
/*source */
import java.lang.Math;
public class MathTest{
public double area(double i){
return Math.PI*i*i;
}
public static void main(String[] args){
double a = 6;
MathTest mt = new MathTest();
System.out.println("area="+mt.area(a));
System.out.println("E="+Math.E);
}
}
/*result */
--------------------Configuration: <Default>--------------------
area=113.09733552923255
E=2.718281828459045
Process completed.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -