Pergunta de entrevista da empresa Protocol Zone

What is the difference between == and .equals() in Java?