Examveda

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

A. true

B. false

C. Compilation Error

D. Runtime Error

Answer: Option A


This Question Belongs to Java Program >> Miscellaneous In Java

Join The Discussion

Related Questions on Miscellaneous in Java