How to specify the type of an ArrayList
807597Oct 11 2005 — edited Oct 11 2005Hi!
I want to collect a series of int's in an ArrayList. But it seems to be something wrong with:
ArrayList<int> myArrayList = new ArrayList<int>();
So, how do I write if I only want to put in numbers (int's) into my ArrayList?