String word = "Hello"; // Declare String. word.equalsIgnoreCase("hELlO"); // Returns true. word.equals("Hello"); // Returns true. word.equals("heLLo"); // Returns false.