java编程,本人菜鸟级,求各位帮帮忙啊。。。谢谢谢谢

1.CreateaWalletobjectforeachelementinmyWalletarrayasfollows:myWallet[0]Wallet’sowner–... 1.
Create a Wallet
object for each element in myWallet array as follows:
myWallet[0] Wallet’s owner – “Ang Ah Kow”Name of bank of the credit card inside this
wallet – “DBS”Credit Limit of the credit card inside this
wallet – $10,000
myWallet[1] Wallet’s owner – “Chan Ah Kow”Name of bank of the credit card inside this
wallet – “UOB”Credit Limit of the credit card inside this
wallet – $20,000
myWallet[2] Wallet’s owner – “Eng Ah Kow”Name of bank of the credit card inside this
wallet – “HSBC”Credit Limit of the credit card inside this
wallet – $30,000
myWallet[3] Wallet’s owner – “Foo Ah Kow”Name of bank of the credit card inside this
wallet – “Citibank”Credit Limit of the credit card inside this
wallet – $40,000
myWallet[4] Wallet’s owner – “Gan Ah Kow”Name of bank of the credit card inside this
wallet – “OCBC”Credit Limit of the credit card inside this
wallet – $50,000

2.
Display ownerName
of myWallet[1] using the getOwner method (Answer should be “Chan
Ah Kow”)
3.
Display bankName
of myWallet[4] using the getBankName method of the Card object inside myWallet[4] (Answer should be “OCBC”)
4.
Display creditLimitof myWallet[2] using the getCreditLimit method of the Card object inside myWallet[2] (Answer should be 30000)
展开
 我来答
还内心一片安静
2013-01-16 · TA获得超过741个赞
知道小有建树答主
回答量:1371
采纳率:0%
帮助的人:324万
展开全部
您是想管理银行账户,这5个账户主要有三大要素,户主,哪个银行,信用额度。而你是想需要时,调用这些要素。在这里我也是菜鸟,但是我可以说一下我的思路。您可以使用数据库进行进行管理,数据少时可以用Jtable表格进行管理。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
a234440967
2013-01-16
知道答主
回答量:10
采纳率:0%
帮助的人:1.3万
展开全部
?????????你想说什么?什么问题?
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

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

类别

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

说明

0/200

提交
取消

辅 助

模 式