Java - Strings and String Handling
What will be the output of the following Java code?
String a = "apple";
String b = "banana";
int result = a.compareTo(b);
System.out.println(result > 0 ? "a > b" : "a <= b");
