Solved

The String Class' CompareTo Method

Question 8

Multiple Choice

The String class' compareTo method


A) compares two string in a case-independent manner
B) yields True or false
C) yields 0 if the two strings are identical
D) returns 1 if the first string comes lexically before the second string
E) none of the above

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