文件名称:bank2
- 所属分类:
- 软件工程
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-03-31
- 文件大小:
- 6kb
- 下载次数:
- 1次
- 提 供 者:
- ningxi******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Directions
Start by changing your working directory to SL275/mod04/exercise2 on your computer.
Create the banking directory. Copy the previous Banking project files in this package directory.
Modify the Account class to conditionalize the withdraw and deposit methods.
Modify the deposit method to return true. (meaning all deposits are successful)
Modify the withdraw method to check that the amount being withdrawn is not greater than the current balance. If amt is less than balance, then subtract the amount from the balance and return true else, leave the balance alone and return false.-Directions
Start by changing your working directory to SL275/mod04/exercise2 on your computer.
Create the banking directory. Copy the previous Banking project files in this package directory.
Modify the Account class to conditionalize the withdraw and deposit methods.
Modify the deposit method to return true. (meaning all deposits are successful)
Modify the withdraw method to check that the amount being withdrawn is not greater than the current balance. If amt is less than balance, then subtract the amount from the balance and return true else, leave the balance alone and return false.
Start by changing your working directory to SL275/mod04/exercise2 on your computer.
Create the banking directory. Copy the previous Banking project files in this package directory.
Modify the Account class to conditionalize the withdraw and deposit methods.
Modify the deposit method to return true. (meaning all deposits are successful)
Modify the withdraw method to check that the amount being withdrawn is not greater than the current balance. If amt is less than balance, then subtract the amount from the balance and return true else, leave the balance alone and return false.-Directions
Start by changing your working directory to SL275/mod04/exercise2 on your computer.
Create the banking directory. Copy the previous Banking project files in this package directory.
Modify the Account class to conditionalize the withdraw and deposit methods.
Modify the deposit method to return true. (meaning all deposits are successful)
Modify the withdraw method to check that the amount being withdrawn is not greater than the current balance. If amt is less than balance, then subtract the amount from the balance and return true else, leave the balance alone and return false.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
bank2
.....\.classpath
.....\.project
.....\.settings
.....\.........\org.eclipse.jdt.core.prefs
.....\bin
.....\...\banking
.....\...\.......\Account.class
.....\...\.......\Customer.class
.....\...\TestBanking
.....\...\...........\TestBanking.class
.....\src
.....\...\banking
.....\...\.......\Account.java
.....\...\.......\Customer.java
.....\...\TestBanking
.....\...\...........\TestBanking.java