汪汪一只猫
int 是Integer 的对象啊当让不可以,import java.util.ArrayList;import java.util.List;public class test {/*** @param args*/public static void main(String[] args) {// TODO Auto-generated method stubparseIntToInteger(new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 });}public static void parseIntToInteger(int[] nums) {Integer[] in = new Integer[nums.length];for (int i = 0; i < nums.length; i++) {in[i] = Integer.valueOf(nums[i]);System.out.println(in[i]);}}}