Java创建数组

int[] l1 = new int[6];
int[] l2 = new int[] {1,2,3,4};
int[] l3 = {1,2,3,4};

posted @ 2021-04-14 09:34  彩虹掠夺者  阅读(57)  评论(0)    收藏  举报