50,543
社区成员
发帖
与我相关
我的任务
分享
char[][] chess = new char[17][17];
chess[0]=new char[]{' ','0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'};
System.out.print(chess[0]);
char[] c = new char[]{' ','0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'};
for(int i=0;i<17;i++){
chess[i][0] = c[i];
}
for(int i=0;i<17;i++){
chess[i][0] = '5';
}
for(int i = 0;i<17;i++){
System.out.print(chess[0][i]+" ");
}