String Pool

[EN] Strings in Java: Why `==` sometimes works and sometimes doesn't
[EN] Strings in Java: Why …

Hello everyone,

Today we’re diving into a Java topic that causes headaches for many developers, especially at the beginning: The Comparing strings using the == operator. You’ve probably heard that strings are always with you .equals() should compare. But then why do the following tests …