If else condition with multiple statements - Java Quiz Question


What will be the output of the following program?


A
1 is less than 2
Hello From IfExample
B
1 is less than 2
C
2 is less than 1
D
Compilation Error