I thought that when you declared an ArrayList that you had to say what kind of variable would be in it. That wasn't done here, e.g. ArrayList<Integer>, so can someone explain when you have to and when you don't have to declare the types in the ArrayList?? thanks