文件名称:LAB2
-
所属分类:
- 标签属性:
- 上传时间:2014-03-26
-
文件大小:2.19kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
AccountConsult 增加了许多扩展功能
一:允许用户增加账户(包括空账户)
二:允许用户使用 deposit withdraw 操作,同时可以查询自己N月之后的账户余额
三:增加了报错功能(仅针对数字输入,字符输入加入太累了,放弃了)
四:增加了许多智能的功能(比如余额低于0不允许withdraw操作、withdraw操作数不允许大于balance的值,即不允许透支)
同时还有一些遗憾
一:余额低于0不允许withdraw操作 的功能虽然加入,但是实际操作很鸡肋,因为用户存款的时候balance就大于0,此后balance一直大于0,除非遇到endMonth操作,但是考虑到实际中endMonth操作是个未来值,加入此功能相当于加入了 时间加速 功能,故舍弃
二:由于AccountConsult 过于复杂,需要输入的次数太多,而没有加入字符串纠错功能,在操作中 不正确的输入可能导致意想不到的操作,因此请按照提示正确输入
-AccountConsult adds a lot of extensions: Allows users to add accounts (including the empty account) II: allows users to deposit withdraw operations, and can check account balances himself three months after N: increasing the error function (for digital input only, character input Join tired, give up) four: increase the number of intelligent functions (for example, not allowed to withdraw the operating balance is less than 0, withdraw operand is greater than the balance of the value is not allowed, which does not allow overdrafts) as well as some regrets one: Balance allowed to withdraw the operation below 0 features, while adding, but the actual operation is very sad, because when users deposit balance is greater than 0, then balance has been greater than 0, unless encountered endMonth operations, but taking into account the practical operation of a future value endMonth , join this function is equivalent to adding a time acceleration, so discard II: Since AccountConsult too complicate
一:允许用户增加账户(包括空账户)
二:允许用户使用 deposit withdraw 操作,同时可以查询自己N月之后的账户余额
三:增加了报错功能(仅针对数字输入,字符输入加入太累了,放弃了)
四:增加了许多智能的功能(比如余额低于0不允许withdraw操作、withdraw操作数不允许大于balance的值,即不允许透支)
同时还有一些遗憾
一:余额低于0不允许withdraw操作 的功能虽然加入,但是实际操作很鸡肋,因为用户存款的时候balance就大于0,此后balance一直大于0,除非遇到endMonth操作,但是考虑到实际中endMonth操作是个未来值,加入此功能相当于加入了 时间加速 功能,故舍弃
二:由于AccountConsult 过于复杂,需要输入的次数太多,而没有加入字符串纠错功能,在操作中 不正确的输入可能导致意想不到的操作,因此请按照提示正确输入
-AccountConsult adds a lot of extensions: Allows users to add accounts (including the empty account) II: allows users to deposit withdraw operations, and can check account balances himself three months after N: increasing the error function (for digital input only, character input Join tired, give up) four: increase the number of intelligent functions (for example, not allowed to withdraw the operating balance is less than 0, withdraw operand is greater than the balance of the value is not allowed, which does not allow overdrafts) as well as some regrets one: Balance allowed to withdraw the operation below 0 features, while adding, but the actual operation is very sad, because when users deposit balance is greater than 0, then balance has been greater than 0, unless encountered endMonth operations, but taking into account the practical operation of a future value endMonth , join this function is equivalent to adding a time acceleration, so discard II: Since AccountConsult too complicate
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AccountConsult.java
AccountTest.java
AccountTest.java
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。