write a Java program to find out whether the given character is a digit, letter or a special character
Answers
Answered by
1
Answer:
An object of type Character contains a single field whose type is char. We can check whether the given character in a string is a number/letter by using isDigit() method of Character class. The isDigit() method is a static method and determines if the specified character is a digit.
Similar questions