Static variables - Java Quiz Question


What will be the output of the following program?


A
5
B
1000
C
5000
D
Some other output
E
Compilation Error or Runtime Error