KnowledgeBoat Logo

Output Questions for Class 10 ICSE Computer Applications

Find the output of the following program snippet:


char ch = '*';
boolean b = Character.isLetter(ch);
System.out.println(b);

Java

Java Library Classes

ICSE

45 Likes

Answer

false

Working

As Asterisk (*) is not a letter so Character.isLetter() method returns false.

Answered By

28 Likes