Frage im Vorstellungsgespräch bei EPAM Systems

Can you explain the difference between == and equals()? Are strings immutable? Can you explain the hashcode method?

Antwort im Vorstellungsgespräch

Anonym

10. Juni 2022

We can you use operator equals to compare references and method equals for compare content comparasion.