String str1 = "Some text";
String str2 = "some Text";
// Case sensitive comparison accounts for case of letters
System.out.println(str1.equals(str2)); // false
// Case insensitive comparison through equalsIgnoreCase
System.out.println(str1.equalsIgnoreCase(str2)); // true