思考…求知(判别用户输入的是否是整数)

1.通过“ input.hasNextInt ”判断用户输入的是否是整数

posted @ 2015-08-04 14:58  狩夜  阅读(171)  评论(0编辑  收藏  举报