Posts by Elisio Pedro • 1 point
1 post
-
0
votes3
answers41
viewsA: Problems adding multiple elements to Arraylist
If you change the line: List dados = new java.util.ArrayList<>(); To: ArrayList<string> dados = new java.util.ArrayList<>(); Also change the data type of "age" of int for String.…
javaanswered Elisio Pedro 1