摘要: private final char value[]; 字符串会自动转换为一个字符数组。 public int compareTo(String anotherString) { //this -- s1 -- "hello" //anotherString -- s2 -- "hel" int len1 = ... 阅读全文
posted @ 2016-12-12 19:17 Faron 阅读(1499) 评论(0) 推荐(0) 编辑