文件名称:bank2
-
所属分类:
- 标签属性:
- 上传时间:2013-03-31
-
文件大小:5.71kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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/
bank2/.classpath
bank2/.project
bank2/.settings/
bank2/.settings/org.eclipse.jdt.core.prefs
bank2/bin/
bank2/bin/banking/
bank2/bin/banking/Account.class
bank2/bin/banking/Customer.class
bank2/bin/TestBanking/
bank2/bin/TestBanking/TestBanking.class
bank2/src/
bank2/src/banking/
bank2/src/banking/Account.java
bank2/src/banking/Customer.java
bank2/src/TestBanking/
bank2/src/TestBanking/TestBanking.java
bank2/.classpath
bank2/.project
bank2/.settings/
bank2/.settings/org.eclipse.jdt.core.prefs
bank2/bin/
bank2/bin/banking/
bank2/bin/banking/Account.class
bank2/bin/banking/Customer.class
bank2/bin/TestBanking/
bank2/bin/TestBanking/TestBanking.class
bank2/src/
bank2/src/banking/
bank2/src/banking/Account.java
bank2/src/banking/Customer.java
bank2/src/TestBanking/
bank2/src/TestBanking/TestBanking.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.