Vidyalelo
Java Programming · Q74

Strings

Programming · Java Programming · question 74

Q74

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

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

Answer: Option C

Solution

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