⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bankinterface.java

📁 java编程好的网上银行的例子
💻 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 + -