11.7.3 compareTo()比較字串 compareTo()的主要功能是用來「比較」兩個字串,如果兩個字串相同,傳回值就會為零。語法 string1.compareTo(string2)參數 string1:第一個字 ...
確定! 回上一頁