Vidyalelo
C# Programming · Q120

Arrays and Strings in C Sharp

Programming · C# Programming · question 120

Q120

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
Answer
C.
value greater than zero
D.
none of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board