Hi, I"m trying to code something in Java that will catch if the user input is not an integer. Thanks!!?
I am using Java as my coding language. Also, I am attempting to use the try-catch method. And the user input is supposed to be an integer, it is just as a precautionary measure in case they enter something that is not an integer.