hasNextInt

hasNextInt()方法是判断控制台接收是否为数字
posted @ 2025-01-02 18:13  Grit_Doyle  阅读(22)  评论(0)    收藏  举报