懂英文,学过java的朋友进来帮帮忙(一道作业题)

Question4InthisquestionyouwillextendtheBankAccountclasstoincludeadditionalsupportforr... Question 4
In this question you will extend the BankAccount class to include additional support for
representing the interest rate that is applied to the account.
1. Add an additional instance field for representing the interest rate that will be applied to
the savings account. The interest rate should be represented as a double.
2. Add an additional overloaded constructor for the BankAccount class that allows both the
balance and interest rate to be set when a bank account object is created.
3. A getter and setter methods for getting and setting the interest rate.
4. Add a method applyInterest() that updates the balance by adding the interest to the
current balance. For example if the balance is $500 and the interest rate is 5%, then the
balance after the interest has been applied will be 500+500*5/100= $525.

(不是麻烦您给我翻译啊。。。)谢谢
展开
豆丁小铺
2009-08-30
知道答主
回答量:95
采纳率:0%
帮助的人:30.7万
展开全部
类似是一个操作api,教你如何操作(比如写一个类里要包含哪些字段啊,属性啊等等),还有重载,getter(),setter()方法
734525595
2009-08-30
知道答主
回答量:29
采纳率:0%
帮助的人:0
展开全部
它不认识我,我也不认识 它,继续飘过
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
9291leehom
2009-08-30
知道答主
回答量:10
采纳率:0%
帮助的人:0
展开全部
o_o 我能看懂一些

像是一个指导说明
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
a51126822
2009-08-30 · TA获得超过1659个赞
知道小有建树答主
回答量:2388
采纳率:0%
帮助的人:759万
展开全部
它认识我 我不认识它 路过~~
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(2)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式