📜  Java equalsIgnoreCase - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:10.565000             🧑  作者: Mango

代码示例1
String word = "Hello"; // Declare String.
word.equalsIgnoreCase("hELlO"); // Returns true.
word.equals("Hello"); // Returns true.
word.equals("heLLo"); // Returns false.