Examveda

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

C. value greater than zero

D. none of the mentioned

Answer: Option B


This Question Belongs to Java Program >> Strings

Join The Discussion

Related Questions on Strings