Q:

What is the value returned by function compareTo( ) if the invoking string is less than the string compared?

0

What is the value returned by function compareTo( ) if the invoking string is less than the string compared?


  1. Zero
  2. A value of less than zero
  3. A value of less than zero
  4. None of the mentioned

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

A value of less than zero

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now