表示字符串的序列,定义的方法有
Method Summary | |
---|---|
char | charAt(int index) Returns the char value at the specified index. |
int | length() Returns the length of this character sequence. |
CharSequence | subSequence(int start, int end) Returns a new CharSequence that is a subsequence of this sequence. |
String | toString() Returns a string containing the characters in this sequence in the same order as this sequence. |