- Category:
- Ajax
- Tags:
-
[Java]
[源码]
- File Size:
- 1kb
- Update:
- 2016-06-30
- Downloads:
- 0 Times
- Uploaded by:
- 胡鹏
Description: Implement a said Phone number (with area code and number, such as 010-68911205) Phone
Class, one of the constructor parameters should be said the phone number of the string. Achieve the set requirements
And get functions to set and get the phone number of the area code (area, such as 010) and number (number,
Such as 68911205), rewrite the Object. The toString () function to print out the phone number. (hint: can use
String. The indexOf () and the String. The substring () function)
To Search:
File list (Check if you may need any files):
Phonenum.java