Posts by felipemm • 64 points
2 posts
- 
		2 votes4 answers47343 viewsA: Remove element from an Arraylist in JavaWhen you’re doing Pessoa umaPessoa = new Pessoa(umNome) The new created Person object is not the same object it contains in the array. A simple solution would be to take the object Pessoa of… 
- 
		2 votes4 answers222 viewsA: Return null by breaking the codeNo if try to put if (umaPessoa != null) 'Cause it must be the equals that are breaking.