Java 中的compareto方法,返回參與比較的前後兩個字串的asc碼的差值. String a = "a"; String b = "b"; System.out.println(a.compareTo(b));.
確定! 回上一頁