isDigit in Java

isDigit is a static method of Character class. It is used to determine whether a character is a digit or not. If the character is digit then isDigit return true otherwise it return false. Let us look at an example code : Output