It works, byall the elements in the arrayList is printed out.System.out.println(newarray.toString());
but I get warning that says
- ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
Maybe I should not worry about it?