關(guān)于數(shù)組 語法: 1,數(shù)據(jù)類型[] 數(shù)組名或數(shù)據(jù)類型 數(shù)組名[] 2,數(shù)組名 = new 數(shù)據(jù)類型[數(shù)組長(zhǎng)度]; 3,賦值 4,int[] scores = {1,2,3,4}; int[] scores= new int[]{1,2,3,4};
舉報(bào)
0/150
提交
取消
關(guān)于數(shù)組 語法: 1,數(shù)據(jù)類型[] 數(shù)組名或數(shù)據(jù)類型 數(shù)組名[] 2,數(shù)組名 = new 數(shù)據(jù)類型[數(shù)組長(zhǎng)度]; 3,賦值 4,int[] scores = {1,2,3,4}; int[] scores= new int[]{1,2,3,4};
2014-06-24
舉報(bào)