ArrayList<Integer> item = new ArrayList<Integer>();

이렇게 하니까

ArrayList cannot be resolved to a type

이런 에러가 나네요.

Integer형은 안되는거예요?