Class Output - Java Quiz Question


What will be the output of the following program?


A
a = 0
a = 0
B
a = 1
a = 1
C
a = 0
a = 1
D
a = 1
a = 2
E
Compilation Error