void (String[] args) { System.out.println(Arrays.asList(test(new int[] {1,2,3}))); System.out.println(Arrays.asList(test2d(new int[] {1,2,3}))); System.out.println(Arrays.asList(testCovariant(new int[] {1,2,3}))); System.out.println(Arrays.asList(testCovariantLambda(new int[] {1,2,3}))); System.out.println(Arrays.asList(testGeneric(new int[] {1,2,3}))); System.out.println(Arrays.asList(testTypeMismatch(new Object[]{1, 2, 3, "string", 4}))); }