The following lines are part of the code in your program: String a = new String("Java!");
String b = new String("Exam.");
int result = a.compareTo(b); You have determined that the value of result is 5.
What does this mean? Choose the correct answer:
A. The String value stored in a is 5 characters different than the String value stored in b.
B. The String value stored in a is lexographically less than the String value stored in b.
C. The String value stored in a is lexographically greater than the String value stored in b.
D. Nothing. The compareTo() method does not apply to strings and the return value is inconsistent.