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

  • (A) zero
  • (B) value less than zero
  • (C) value greater than zero
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) value greater than zero

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
148
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Ranjeet
Publisher
πŸ“ˆ
84%
Success Rate