📄 2.6testfinal.java
字号:
public class TestFinal {
public static void main(String args[]){
final double PI = 3.1415926; //定义常量PI表示圆周率
double r = 4.0;
double s = PI*r*r; //计算圆的面积
System.out.println("the square of the circle is: "+s);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -