A

Admin • 802.91K Points
Coach

Q. Which method is used to compare two strings ignoring case?

  • (A) equals()
  • (B) compareTo()
  • (C) equalsIgnoreCase()
  • (D) matchIgnoreCase()

Explanation by: Admin
equalsIgnoreCase() compares strings without considering case sensitivity.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.