Posts by bordinhon • 11 points
1 post
-
1
votes1
answer37
viewsA: I need to check that the item does not exist before adding it to Arraylist
Good afternoon. This validation you have to do in the method that adds the object in the list. //Adicionar um objeto na lista static public void adicionar(ProdutoModel produto) { if…