What is the result of: "abc".equalsIgnoreCase("ABC")?

  1. true
  2. false
  3. ABC
  4. abc
Correct answer true

Explanation

equalsIgnoreCase() ignores the case of characters when comparing strings.

Update: Admin added a tag on this question

Topics

By Admin · · 23 views