program10_4.java
来自「《A first book of java》by Gary J.Bronson 」· Java 代码 · 共 17 行
JAVA
17 行
public class Employees
{
// class variable declaration section
private static double taxRate = 0.0025;
private int idNum;
// class method definition section
public Employees(int num) // constructor
{
idNum = num;
}
public static void main(String[] args)
{
System.out.print("The tax rate is " + taxRate);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?