

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program? class Output { public static void main(String args[]) { char a[] = {'a', '5', 'A', ' '}; System.out.print(Character.isDigit(a[0])+ " "); System.out.print(Character.isWhitespace(a[3])+ " "); System.out.print(Character.isUpperCase(a[2])); } } |
A. | True false true |
B. | False true true |
C. | True true false |
D. | False false false |
Answer» C. True true false | |