Why can’t you use == for strings in Java?

Do not use the == operator to compare Strings operators. These operators actually test references, and since multiple String objects can represent the same String , this is liable to give the wrong answer. Instead, use the String.

Sizin İçin Seçtik  What happens if crypto crashes?

Leave a Reply

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