Different between== operator and equal to operator
Risposta di colloquio
Anonimo
2 ott 2024
== checks whether two references point to the same object.
equals() checks whether two objects have the same content, provided the method is correctly overridden.