Posts by user41087 • 33 points
1 post
-
3
votes1
answer367
viewsQ: What does equals(Object o) mean in this method?
In that code: public boolean equals(Object o) { Aluno outro = (Aluno)o; return this.nome.equals(outro); } What’s he good for?
1 post
3
votes1
answer367
viewsIn that code: public boolean equals(Object o) { Aluno outro = (Aluno)o; return this.nome.equals(outro); } What’s he good for?