package p; import java.util.Arrays; import java.util.Collection; class A { void m() { Collection <Integer> col = Arrays.asList(2,3,5,6,7); for (Integer integer : col) { } } }