ICSE Class 10 Computer Applications Question 13 of 16

Library Classes — Question 13

Back to all questions
13
Question

Question 9(iii)

Distinguish between isDigit() and isLetter()

Answer
isDigit()isLetter()
isDigit() method returns true if the specified character is a digit; returns false otherwise.isLetter() method returns true if the specified character is a letter; returns false otherwise.