文件名称:bank
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.07kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
写一个父类 账户(Account)(属性:id,password,name,personId,email,余额balance;方法:存款deposit,取款withdraw为一空方法)
写一个子类 储蓄账户(SavingAccount,覆盖父类的取款方法)
写一个子类 信用账户 (CreditAccount,属性:行用额度ceiling,覆盖父类的取款方法)
写一个银行类Bank作测试,属性:账户数组,账户数量,方法:开户register,登录login,存款deposit,取款withdraw,设置透支额度setCeiling,
统计所有账户余额总和getAllBalance,统计所有信用帐户透支额度的总和getAllCeiling,工具方法:按id查询账户getAccountById,写出测试主方法测试各个功能。
-Write a parent account (Account) (attributes: id, password, name, personId, email, balance balance method: deposit deposit, withdrawal withdraw as an empty method) to write a subclass of savings account (SavingAccount, override the parent' s withdrawal method ) write a subclass of credit accounts (CreditAccount, attribute: credit line with the ceiling, covering the withdrawal method of the parent class) to write a test bank Bank for the property: an array of account, account number, method: account register, login login, savings deposit , ATM withdraw, set the overdraft limit setCeiling, statistical sum of all account balances getAllBalance, overdraft credit accounts statistics for all the sum of getAllCeiling, tool method: query by id account getAccountById, write a test main method to test various functions.
写一个子类 储蓄账户(SavingAccount,覆盖父类的取款方法)
写一个子类 信用账户 (CreditAccount,属性:行用额度ceiling,覆盖父类的取款方法)
写一个银行类Bank作测试,属性:账户数组,账户数量,方法:开户register,登录login,存款deposit,取款withdraw,设置透支额度setCeiling,
统计所有账户余额总和getAllBalance,统计所有信用帐户透支额度的总和getAllCeiling,工具方法:按id查询账户getAccountById,写出测试主方法测试各个功能。
-Write a parent account (Account) (attributes: id, password, name, personId, email, balance balance method: deposit deposit, withdrawal withdraw as an empty method) to write a subclass of savings account (SavingAccount, override the parent' s withdrawal method ) write a subclass of credit accounts (CreditAccount, attribute: credit line with the ceiling, covering the withdrawal method of the parent class) to write a test bank Bank for the property: an array of account, account number, method: account register, login login, savings deposit , ATM withdraw, set the overdraft limit setCeiling, statistical sum of all account balances getAllBalance, overdraft credit accounts statistics for all the sum of getAllCeiling, tool method: query by id account getAccountById, write a test main method to test various functions.
相关搜索: bankaccount.jsp
(系统自动生成,下载前可以参看下载内容)
下载文件列表
bank.java
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。