filmov
tv
Common novice programming mistakes in Java: String comparison using == instead of equals().

Показать описание
In Java, a common mistake when comparing strings for equality is to use '==' instead of the equals method. This video provides examples of the mistake and advice about avoiding it. This particular error can be tricky to spot because it is relatively difficult to test for it reliably.