
int[] score = new int[5];
변수 타입에 따른 기본값
int[] score = new int[]{ 50, 60, 70, 80, 90};
int[] score = { 50, 60, 70, 80, 90};
int[] score;
score = new int[]{ 50, 60, 70, 80, 90}; //OK
score = { 50, 60, 70, 80, 90}; //에러
char[] chArr = { 'A', 'B', 'C' };
String str = new String(chArr);
char[] tmp = str.toCharArray();
public static void main(String[] args) {...}

int[][] arr = new int[][]{ {1, 2, 3}, {4, 5, 6} };
int[][] arr = { {1, 2, 3}, {4, 5, 6} };
int[][] score = new int[5][];
score[0] = new int[4];
score[1] = new int[3];
score[2] = new int[2];
score[3] = new int[2];
score[4] = new int[3];