String.equals()和String.equalsIgnoreCase()的区别时间:2022-06-29 16:16:07String.equals()对大小写敏感,而String.equalsIgnoreCase()忽略大小写 例如:"ABC".equals("abc")是false "ABC".equalsIgnoreCase("abc")为ture