Read integer from user method
<p>Is there any method in java that reads and returns an integer value from the user and if the user types a value that is not a legal integer, the method offers the user a chance to re-enter the data again.
I am looking for something similar to readInt() in IOConsole Class in the ACM Documentations.</p>

<p>thank you for your time and help.</p>
