title: Check Single digit in int(Java)
body: <p>How do you check a single digit in an int? I know for Strings you can use charAt(), but if you try to use it for an int it will return an error message. Is there any way to check a single digit and set it to a variable in a multiple digit number?</p>