InterviewSolution
Saved Bookmarks
| 1. |
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 mentionedI have been asked this question at a job interview.I would like to ask this question from Comparison of Strings in division Arrays and Strings of C# |
|
Answer» Correct answer is (b) value LESS than zero |
|