📄 employeeimpl.java
字号:
package questions.c16;
import java.rmi.RemoteException;
public class EmployeeImpl implements Employee {
private int serial;
private String name;
private double salary;
public EmployeeImpl( int serial, String name,
double salary ) {
this.serial = serial;
this.name = name;
this.salary = salary;
}
public int getSerial() throws RemoteException {
return serial;
}
public void setName( String name )
throws RemoteException {
this.name = name;
}
public String getName() throws RemoteException {
return name;
}
public void setSalary( double salary )
throws RemoteException {
this.salary = salary;
}
public double getSalary() throws RemoteException {
return salary;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -