数组字符串和枚举

与C/C++不同,Java中不允许在声明数组时指定数组的元素个数  如:int a[12] 错误,int a[]=new int[12]正确

posted on 2019-07-02 21:46  一仟零一夜丶  阅读(260)  评论(0)    收藏  举报