True/False
If s1 = "dog" and s2 = "cat",then s1.compareTo(s2)returns a positive integer value.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: Which is not a primitive type in
Q11: What is the meaning of the declaration:
Q12: When using the method System.out.printf( ),what is
Q13: The following code attempts to find the
Q14: In Java,when we write an if-statement of
Q16: Suppose a,b and c are the lengths
Q17: Why does the Java statement System.out.println("answer =
Q18: How many constructors can a class have?<br>A)Exactly
Q19: All Java programs must define at least
Q20: Suppose s1 is a String variable.We want