JAVA编写一个telephone_Phone 编写java程序,程序中有一个父类Telephone 联合开发网 - pudn.com...

Phone

所属分类:Java编程

开发工具:Java

文件大小:2KB

下载次数:5

上传日期:2011-12-28 17:11:06

上 传 者:果儿

说明:  编写java程序,程序中有一个父类Telephone,类中包含电话品牌、电话号码、通话时间、费率等属性,以及计算话费和显示信息等方法;程序中还有一个子类Mobilephone,除了具有Telephone类的属性外,还有自己的属性如网络类型、被叫时间,同时它有自己的计算话费和显示信息的方法。最后程序中应包含一个主类来使用上述两个类并显示它们的信息。

(The program has a parent class Telephone, class contains phone brand, telephone number, time of call, rates and other attributes, as well as the calculation of charges and display information method program and a subset of Mobilephone, in addition to having the properties of the Telephone class, also has its own attributes such as the network type, called time, at the same time it has his calculation of charges and method of displaying information. Finally the program should include a master class to use the above two categories and display their information.

)

文件列表:[举报垃圾]

090360105%2B周润%2BPhone

....................\Mobilephone.class,764,2011-10-08

....................\Ok.class,445,2011-10-08

....................\Ok.java,1047,2011-10-10

....................\Telephone.class,668,2011-10-08

近期下载者:

相关文件:

收藏者:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值