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!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответов
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