If you want to store a Customer object in the arraylist, you need to declare the array as such.

Rather than


ArrayList<String> customerList;

try