I've been learning java, and I have a question about creating an array.
Basically, what I want to do is that I wish to create an array with an unknown array length, then ask the user to input values to be stored in the array. The length of the array depends on the number of integers that the user has entered.
I have tried to find answer by searching online, but failed. Hope you guys can help me out. Thank you!