Posts by Luis Prates • 21 points
1 post
-
2
votes4
answers2763
viewsA: Add array elements in Arraylist and print values
You can create the Array in the same way Integer[] integerArray = {1,2,3}; And then convert to ArrayList taking advantage of the library java.util.Arrays: List<Integer> integerList =…