0

If i define an array with objects in it, can i then later add more?

if i do, int[] arr = {1,2} can i then later do something along the lines of arr[i] = 3

10th Sep 2018, 6:12 PM
niclas
niclas - avatar
5 Réponses
+ 1
thank you
10th Sep 2018, 6:18 PM
niclas
niclas - avatar
+ 1
niclas You're welcome.
10th Sep 2018, 6:19 PM
MDJ_
MDJ_ - avatar
+ 1
i always forget the semicolon because lately i have been using a language where u dont put semicolons
10th Sep 2018, 6:20 PM
niclas
niclas - avatar
0
Is there any workaround?
11th Sep 2018, 12:53 PM
niclas
niclas - avatar
0
bump
14th Sep 2018, 2:30 PM
niclas
niclas - avatar