L
Size: a a a
L
VA
L
L
VA
L
L
VA
L
L
Э
Э
ВА
ВА
public boolean equals(Person other) {
if (other == null) return false;
// if pointers refer to same object
if (this == other) return true;
return this.name == other.name;
}
Э
public boolean equals(Person other) {
if (other == null) return false;
// if pointers refer to same object
if (this == other) return true;
return this.name == other.name;
}
ВА
Э
Э
Э
Ln