switch 语句中只能时byte,short,char,int ,枚举类型,String类型数组静态初始化:int[] arr = new int[]{1,2,3}动态初始化:int[] arr = new int[7];动态初始化时,每个元素会有初始值