Posts by Rafael • 135 points
2 posts
-
9
votes4
answers47343
viewsQ: Remove element from an Arraylist in Java
I’m having trouble removing an element from my Arraylist, someone can help me as? public String remover(Pessoa umaPessoa) { String mensagem = "\n******** Pessoa removida com Sucesso! ********\n";…
-
4
votes4
answers222
viewsQ: Return null by breaking the code
When I search right the name of the person on the list of people it returns the person but when the return is null it breaks the loop of the code and shows it: Exception in thread "main"…