Classes and Objects - Java Quiz Question


What will be the output of the following program?


A
Passed Name is :red
B
Passed Name is :white
C
Passed Name is :red
Passed Name is :white
D
Compilation Error or Runtime Error