6 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

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 114
Correct 45
Incorrect 23
Viewed 46

Answers

Guest
Guest
Bharath
Bharath - 9 months ago

Bharath from Hyderabad, India is saying false true true is correct answer

Bharath
Bharath - 9 months ago

Bharath from Hyderabad, India is saying false true true is correct answer

shubham adne
shubham adne - 11 months ago

shubham adne from Pune, India is saying false true true is correct answer

bruh
bruh - 1 year ago

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

Vaibhav Bisht
Vaibhav Bisht - 1 year ago

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

Related Questions