Is the .equals function case-sensitive?

The equals() method is case-sensitive , meaning that the string “HELLO” is considered to be different from the string “hello”. The == operator does not work reliably with strings.

Sizin İçin Seçtik  What does ignore case do?

Leave a Reply

Your email address will not be published. Required fields are marked *