private static void search() {
for (int i = 0; i < rooms.length; i++) {
for (int j = 0; j < rooms[0].length; j++) {
if (j + 1 < 10) {
System.out.print(i + 1 + "0" + (j + 1) + " ");
} else {
System.out.print(i + 1 + "" + (j + 1) + " ");
}
}
就算不想获取返回,也要稍等再关闭连接
OK 俺帮你。