Home / Questions / Difference between equals() and equalsIgnoreCase() string functions?
Explanatory Question

Difference between equals() and equalsIgnoreCase() string functions?

👁 26 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

  • equals() → case-sensitive comparison

  • equalsIgnoreCase() → case-insensitive comparison