"I was trying to figure out if a user’s input was a integer, and I couldn’t figure out how I could check for strings. So see, I have this for checking the value and seeing if it’s higher than it has to be: int n = sca.nextInt(); while (n<=0){ System.err.println(error_1); n = sca.nextInt(); } But now I have an issue with checking if the string is wrong. I found something already which was using a While loop and I tried adding this: while ( (n<=0)||(sca.hasNextInt() )) { .... } But I got something that said the variable n was not compatible. What can I try next, you think?"