String a = "HYRE"; String b = "AGNYG"; int compare = a.compareTo(b); if (compare < 0) { //a is smaller } else if (compare > 0) { //a is ...
確定! 回上一頁