Question
class Output {
public static void main(String args[]) {
char a = '@';
boolean x = Character.isLetter(a);
System.out.print(x);
}
}
What is the output of this program?
class Output {
public static void main(String args[]) {
char a = '@';
boolean x = Character.isLetter(a);
System.out.print(x);
}
}
Answer: Option C
Was this answer helpful ?
None.
Output:
$ javac Output.java
$ java Output
B
Was this answer helpful ?
Submit Solution