You will either need to declare the size of the array beforehand or use something like an ArrayList
...