java创建数组几种方式 最近得多学学基础了,基础还是很重要的~ int[] temp=new int[6]; int[] temp={1,2,3,4}; int[] temp= new int[]{1,2,3,4,5}; //和第二种差不多 持续更新~