码迷,mamicode.com
首页 > 其他好文 > 详细

String类题目总结

时间:2015-09-09 06:18:36      阅读:152      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!