Lamp is - Java Quiz Question


What will be the output of the following program?


A
Lamp switch-on true
Lamp switch-on false
B
Lamp switch-on false
Lamp switch-on false
C
Lamp switch-on false
Lamp switch-on true
D
Compilation Error or Runtime Error