String equation in Java uses .equals()