+ 2

Java How to access variables dynamically?

https://code.sololearn.com/cM3aSBO831GX/?ref=app Without arrays.. x0= 0 x1= 1 x2= 2 x3= 3 ......

26th Oct 2021, 6:58 PM
None
4 odpowiedzi
+ 3
It doesn’t make sense That’s why arrays were invented
26th Oct 2021, 7:06 PM
Guillem Padilla
Guillem Padilla - avatar
+ 3
Oh okay. Thank you!
26th Oct 2021, 7:07 PM
None
+ 3
None , maybe an ArrayList can help you. have a look at the sample: https://code.sololearn.com/csB0WEC2F1fz/?ref=app
26th Oct 2021, 7:59 PM
Lothar
Lothar - avatar
+ 1
Lothar, Thank you for helping too
4th Nov 2021, 6:58 PM
None