[求助]杨辉三角形,怎么编译不了
class HomeWork {public static void main(String[] args) {
int[][] Arr = new int[x][y];
for(int x = 0;x <= 10;x++){
for(int y = 0;y <= x;y++){
if(x == 0 || y == 0 || x == y){
Arr[x][y] = 1;
}else{
Arr[x][y] = Arr[x - 1][y - 1] + Arr[x - 1][y];
}
System.out.print(Arr[x][y] + "\t");
}
System.out.println();
}
}
}