Vidyalelo
Java Programming · Q49

Miscellaneous Java

Programming · Java Programming · question 49

Q49

What is the result of the following code in Java? `System.out.println(10 > 5 ? "true" : "false");`

A.
true
Answer
B.
false
C.
Compilation Error
D.
Runtime Error

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board