someMethod((Integer)5); //someMethod((int)5);
System.out.println("Float");
System.out.println("Integer");
Integer[] values = new Integer[1]; Number[] nums = values; // <== legal // String[] strs = values; <== illegal