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

📄 bank.java

📁 一个简单的银行系统
💻 JAVA
字号:
package biz;

import entity.Account;
import exception.AccountNotExistException;
import exception.BalanceNotEnoughException;
import exception.RegisterException;

public interface Bank {
	long register(String personId,
			String password, String password2,String name,int type) throws RegisterException;
	void delete(long id);
	void withDraw(long id,double money) throws BalanceNotEnoughException;
	void deposit(long id,double money);
	long login(long id, String password) throws AccountNotExistException;
	double select(long id);
	Account findAccountById(long id) throws AccountNotExistException;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -