How can we store the input into array indexes and double the size of array if we are out of indexes ? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

How can we store the input into array indexes and double the size of array if we are out of indexes ?

25th Apr 2019, 10:43 PM
Humayoon Rafei
Humayoon Rafei - avatar
2 Respuestas
26th Apr 2019, 12:40 AM
Denise Roßberg
Denise Roßberg - avatar
+ 3
Btw: You can also use an ArrayList in Java. It has not a fixed size.
26th Apr 2019, 12:47 AM
Denise Roßberg
Denise Roßberg - avatar