KnowledgeBoat Logo

Computer Applications

Return data type of isLetter(char) is …………… .

  1. Boolean
  2. boolean
  3. bool
  4. char

Java Library Classes

ICSE 2022

21 Likes

Answer

boolean

Reason — isLetter() method returns true if the specified character is a letter else, it returns false. Thus, the return data type of isLetter(char) is boolean.

Answered By

14 Likes


Related Questions