文件名称:PhoneNumber
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2017-07-06
- 文件大小:
- 9kb
- 下载次数:
- 0次
- 提 供 者:
- zw2****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
实现一个表示电话号码(要求带有区号和号码,如010-68911205)的Phone类,其中某个构造函数的参数应为表示电话号码的字符串。要求实现相应的set和get函数来分别设置及获取电话号码中的区号(area,如010)和号码(number,如68911205),重写Object.toString( )函数打印出整个电话号码。(提示:可使用String.indexOf( )和String.substring( )等函数)(A telephone number (expressed with the area code and number of requirements, such as 01068911205) of the Phone class, which should be a constructor parameter string that represents a phone number. Required to achieve the corresponding set and get function were set up and get the phone number in the code (area, 010) and number (number, 68911205), Object.toString () function to rewrite print out the entire phone number. (hint: you can use functions such as String.indexOf () and String.substring ())
相关搜索: phonenumber
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PhoneNumber\.classpath
PhoneNumber\.project
PhoneNumber\.settings\org.eclipse.jdt.core.prefs
PhoneNumber\bin\c05\foreign\Foreign.class
PhoneNumber\bin\c05\local\PackagedClass.class
PhoneNumber\bin\experiment1\PhoneNumber.class
PhoneNumber\bin\experiment2\Experiment2.class
PhoneNumber\bin\experiment3\BookState.class
PhoneNumber\bin\experiment3\LibraryBook.class
PhoneNumber\bin\experiment4\Value.class
PhoneNumber\bin\experiment5\Connection.class
PhoneNumber\bin\experiment5\ConnectionManager.class
PhoneNumber\src\c05\foreign\Foreign.java
PhoneNumber\src\c05\local\PackagedClass.java
PhoneNumber\src\experiment1\PhoneNumber.java
PhoneNumber\bin\c05\foreign
PhoneNumber\bin\c05\local
PhoneNumber\src\c05\foreign
PhoneNumber\src\c05\local
PhoneNumber\bin\c05
PhoneNumber\bin\experiment1
PhoneNumber\bin\experiment2
PhoneNumber\bin\experiment3
PhoneNumber\bin\experiment4
PhoneNumber\bin\experiment5
PhoneNumber\src\c05
PhoneNumber\src\experiment1
PhoneNumber\.settings
PhoneNumber\bin
PhoneNumber\src
PhoneNumber
PhoneNumber\.project
PhoneNumber\.settings\org.eclipse.jdt.core.prefs
PhoneNumber\bin\c05\foreign\Foreign.class
PhoneNumber\bin\c05\local\PackagedClass.class
PhoneNumber\bin\experiment1\PhoneNumber.class
PhoneNumber\bin\experiment2\Experiment2.class
PhoneNumber\bin\experiment3\BookState.class
PhoneNumber\bin\experiment3\LibraryBook.class
PhoneNumber\bin\experiment4\Value.class
PhoneNumber\bin\experiment5\Connection.class
PhoneNumber\bin\experiment5\ConnectionManager.class
PhoneNumber\src\c05\foreign\Foreign.java
PhoneNumber\src\c05\local\PackagedClass.java
PhoneNumber\src\experiment1\PhoneNumber.java
PhoneNumber\bin\c05\foreign
PhoneNumber\bin\c05\local
PhoneNumber\src\c05\foreign
PhoneNumber\src\c05\local
PhoneNumber\bin\c05
PhoneNumber\bin\experiment1
PhoneNumber\bin\experiment2
PhoneNumber\bin\experiment3
PhoneNumber\bin\experiment4
PhoneNumber\bin\experiment5
PhoneNumber\src\c05
PhoneNumber\src\experiment1
PhoneNumber\.settings
PhoneNumber\bin
PhoneNumber\src
PhoneNumber