:confused:

You mention array and yet in the code snippet you have an array and an ArrayList. Why?
You need a loop that reads in the user input and stores it in the array. After user enters -1 to...