文件名称: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.