ArrayList ar = new ArrayList; int foo[6] = {0, 1, 2, 3, 4, 5, 6, 7}; ar.add(foo);