What will be the output of the following Java program?
class Output
{
public static void main(String args[])
{
char a = '@';
boolean x = Character.isLetter(a);
System.out.print(x);
}
}
class Output
{
public static void main(String args[])
{
char a = '@';
boolean x = Character.isLetter(a);
System.out.print(x);
}
}A. true
B. false
C. @
D. B
Answer: Option B

Join The Discussion