My answer was to static variable.
. So he gave me two program and said to differentiate between them
1st program
Output of this :
0
90
2nd Program
Output of this :
90
90
I tried to decompile the byte code and found it's same for both the above equation. Please help me to differentiate between them. I am confiused when the static variable will initialised.