public static <E> void printArray(E[] generic){ for(E element : generic) { System.out.println(element); }