//PROGRAM 11-16 class DemoEqualsIgnoreCase { public static void main(String[] args) { String s1 = "Java"; String s2 = "JAVA"; String s3 = "Java"; String s4 = "C++"; System.out.println("s1 sama dengan s2 : " + s1.equalsIgnoreCase(s2)); System.out.println("s1 sama dengan s3 : " + s1.equalsIgnoreCase(s3)); System.out.println("s1 sama dengan s4 : " + s1.equalsIgnoreCase(s4)); } }