Posts by JKSN • 11 points
1 post
-
-1
votes4
answers2763
viewsQ: Add array elements in Arraylist and print values
I have two questions about ArrayList: Is there any way I can start the values without having to use the .add every time? For example, the normal vector uses int vetor[5]={1,2,3,4,15} and puts the…