how to check is char numeric is between 0 and 10 java code example Example: check if char is number java Character.isDigit(str.charAt(i));