1.数组的输出的三种方式一维数组:定义一个数组 int[] array = {1,2,3,4,5};(1)传统的for循环方式for(int i=0;i<array.length;i++){System.out.println(