Java provides two methods for comparing strings: compareTo and compareToIgnoreCase · If s1 and s2 are String variables, then their values can be compared by s1.
確定! 回上一頁