展开全部
Writhe a class representing the bank. The bank creates economic crises and sells them to thetaxpayers.
The class has a field to represent the sum of money it has and a field that represents a price of a crisis.
Write appropriate constructors, accessor and mutator methods.
Write sellcrisis method. What does it do?
Write addInterest method that accepts a percentage and increments the sum of money the bank has by this percentage.
代表银行的一个班。银行创造经济危机并将其卖给纳税人。
这个类有一个字段来表示它所拥有的钱和一个代表危机价格的字段。
编写适当的构造函数、访问器和变元方法。
写股票危机的方法。它是做什么的?
写利息法,接受一个百分比,并增加银行的钱的百分比。
The class has a field to represent the sum of money it has and a field that represents a price of a crisis.
Write appropriate constructors, accessor and mutator methods.
Write sellcrisis method. What does it do?
Write addInterest method that accepts a percentage and increments the sum of money the bank has by this percentage.
代表银行的一个班。银行创造经济危机并将其卖给纳税人。
这个类有一个字段来表示它所拥有的钱和一个代表危机价格的字段。
编写适当的构造函数、访问器和变元方法。
写股票危机的方法。它是做什么的?
写利息法,接受一个百分比,并增加银行的钱的百分比。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询