So I am assigned with a project where I have an array.
As the user puts elements into this array it will have to double in length once it gets full.
We are not permitted to use ArrayLists or anything in the collections interface.
What I was trying to do was to make a new array, once the old array was full, and then copy the values to the new array.
The problem is I don't know how many times I will have to make a new array, so I was wondering how to go about solving this.