Vidyalelo
Java Programming · Q73

Strings

Programming · Java Programming · question 73

Q73

What is the value returned by function compareTo() if the invoking string is less than the string compared?

A.
zero
B.
value less than zero
Answer
C.
value greater than zero
D.
none of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board