5 years ago in java.lang Package

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
Loading...
Next Question

Overall Stats

Attempted 110
Correct 42
Incorrect 23
Viewed 45

Answers

Guest
Guest
bruh
bruh - 1 month ago

bruh from Guwahati, India is saying false true true is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying false false false is correct answer

Cos Sinus
Cos Sinus - 1 month ago

Cos Sinus from Casablanca, Morocco is saying false true true is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying false true true is correct answer

Souad El
Souad El - 1 month ago

Souad El from Casablanca, Morocco is saying false true true is correct answer

Related Questions