Question #42: What is the output of the code below?
String a = "john";
String b = "doe";
System.out.println(a.compareTo(b));
Question #42: What is the output of the code below?
String a = "john";
String b = "doe";
System.out.println(a.compareTo(b));