📄 listing5.1.java
字号:
short width;
long length, area;
double totalCost, costPerFoot;
// In the multiplication below, width will be converted to a
// long, and the result of the calculation will be a long.
area = length * width;
// In the division below, area will be converted to a double,
// and the result of the calculation will be a double.
costPerFoot = totalCost / area;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -