Solved

The String Class's CompareTo Method

Question 27

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents