📅  最后修改于: 2022-03-11 14:52:10.565000             🧑  作者: Mango
String word = "Hello"; // Declare String.
word.equalsIgnoreCase("hELlO"); // Returns true.
word.equals("Hello"); // Returns true.
word.equals("heLLo"); // Returns false.