class StringTest{
public static void main(String args[]) {
String str = "This is the first string.";
boolean result1 = str.equals("This is the first string.");
boolean result2 = str.equals("this is the first string.");
boolean result3 = str.equalsIgnoreCase("this is the first string.");
System.out.println("result1 = " + result1);
System.out.println("result2 = " + result2);
System.out.println("result3 = " + result3);
}
}