首页 > 其他 > 详细

String类题目总结

时间:2015-09-09 06:15:39      阅读:135      评论:0      收藏:0      [点我收藏+]

用到的Class和methods:

1. 类String

String s;

s.charAt(i);

 

2. 类Character: http://docs.oracle.com/javase/7/docs/api/java/lang/Character.html

isLetterOrDigit(char ch)

Determines if the specified character is a letter or digit.
Return static boolean
 
toLowerCase(char ch)
Converts the character argument to lowercase using case mapping information from the UnicodeData file.
Return static char
 
3. 类StringBuilder:http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html
 
append(char c)
Appends the string representation of the char argument to this sequence.
 
toString()
Returns a string representing the data in this sequence.
return String
 
 

String类题目总结

原文:http://www.cnblogs.com/hygeia/p/4793476.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!