+ 1
How can I populate a java array with a for loop
Populating java array with for loop
4 Antworten
+ 1
Just keep in mind that once the array has been created you cant change its size.
+ 1
for (int i = 0; i < arr.length; i++) {
...
}
With which kind of values do you want to fill the array?
+ 1
Integers
0
Yeah it is very possible