Given the following code, which expression displays the word "Equal"?
String s1="Java"; String s2="java"; if(expression) { System.out.println("Equal"); } else { System.out.println("Not equal"); }
C
A compares equality of object reference.
B is incorrect because there is no method as matchCase.
D uses the equals method with the case which is different in the two strings.