//PROGRAM 11-15 class DemoEquals { 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.equals(s2)); System.out.println("s1 sama dengan s3 : " + s1.equals(s3)); System.out.println("s1 sama dengan s4 : " + s1.equals(s4)); } }