Is equal case-sensitive?

The equals() method is case-sensitive , meaning that the string “HELLO” is considered to be different from the string “hello”.

Sizin İçin Seçtik  What is the difference between equals () and equalsIgnoreCase ()?

Leave a Reply

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