Are strings in Java case sensitive?

Use the equals() method to check if 2 strings are the same. The equals() method is case-sensitive , meaning that the string “HELLO” is considered to be different from the string “hello”.

Sizin İçin Seçtik  Yalnızca yayınla emri nedir?

Leave a Reply

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