+ 1
How to set the size of an array on runtime in java
3 Respostas
+ 4
Do you mean to create an array at runtime with number of elements specified from user input, or you mean to resize an array that is already created at runtime? for the latter I think it's not possible.
+ 1
Unlike python you can't do that in Java... But you can use e.g. ArrayList instead : )
+ 1
ok