阅读背景:

Java - 如果输入不是整数,如何重新提示用户

来源:互联网 

I want to re prompt(noofcases) the user if the entered value is not an integer. I'm newer to java. kindly suggest me the best possible ways that i can re prompt(noofcases) the user to enter the integer value again till the user enters an integer value. I want to re prompt(noofcases) the user if the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: