What Is The Value Returned By Function Compareto If The #368
What is the value returned by function compareTo() if the invoking string is less than the string compared?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java String Handling - String Comparison in java - Quiz No.1.
What is the value returned by function compareTo() if the invoking string is less than the string compared?
zero
value less than zero
value greater than zero
none of the mentioned