Q. 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 mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) value less than zero

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
146
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
86%
Success Rate