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
近期下载者:
相关文件:
收藏者: