方法 int compareTo(String str); 按字母顺序比较两个字符,不考虑大小写 int compareToIgnoreCase(String str); 按字典顺序比较两个字符,考虑大小写 返回值 如果指定的数与参数相等返回0。 如果指定的数