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!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
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