‹ Back to the paper
Question 37
1 mark
Computer ScienceISC Computer Science - Competency Focused Practice Questions (CISCE, August 2024)OutputPrimitive values, Wrapper classes, Types and casting
What is the output of the following code?
What gets printed? char [ ] set = {'*','D','5'}; System.out.print(Character.isDigit(set[2]) + " ")…
What gets printed?
char [ ] set = {'*','D','5'};
System.out.print(Character.isDigit(set[2]) + " ");
System.out.print(Character.isWhitespace(set[0]) + " ");
System.out.print(Character.isLetterOrDigit(set[1]));Answer
Answer
true false true