+ 1
How to get an user input array without knowing its size in Java?
If using Arraylists or getting user input in string format and changing to array is possible, can I have the code snippet for that?
1 Antwort
+ 1
This will help you.
https://www.google.com/amp/s/www.geeksforgeeks.org/how-do-dynamic-arrays-work/amp/
And please, you can do a bit of research on Google about it. Please don't post simple questions like this.