. "If you want to ensure that each character is a digit, you can use Character.isDigit()." . . .