Solved

The String Class's CompareTo Method

Question 16

Multiple Choice

The String class's compareTo method


A) compares two strings in a case-independent manner
B) yields true or false
C) yields 0 if the two strings are identical
D) rerturns 1 if the first string comes lexically before the second string
E) None of these

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions