Life Time - Java Quiz Question


What will be the output of the following program?


A
Value of X = 10
Value of X = 11
B
Value of X = 10
Value of X = 0
C
Value of X = 10
Value of X = 10
D
Compilation Error
E
Runtime Error