尝试在控制台输入int型整数,使用try...catch...语句防止异常,直到输入合法的整数

NoSuchKey

猜你喜欢

转载自blog.csdn.net/xilin6664/article/details/88924687