Posts by Sheilla Silva • 56 points
1 post
-
4
votes2
answers1166
viewsA: Searching an Arraylist in Java
The contains() will return a Boolean only stating whether the object exists or not in the list. Example: listaFruta = ["maça", "banana", "laranja"]. listaFruta.contains("maça"); "Retorna true"…