📄 bankinterface.java
字号:
/*
* 创建日期 2005-9-14
*
* TODO 要更改此生成的文件的模板,请转至
* 窗口 - 首选项 - Java - 代码样式 - 代码模板
*/
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface BankInterface extends Remote {
// Add method to return balance of this account
public Data login(int accountNumber, String password)
throws RemoteException;
// Add method to withdraw cash from this account
public Data registe(String name, String residence, String password)
throws RemoteException;
public void remit(int from, int to, int amount)throws RemoteException;
public void logOff(BankUserInterface b)throws RemoteException;
public void registerClient(BankUserInterface b)throws RemoteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -