In case of printing three times '4' , I have a doubt.
If activation record stores 2,3,4 in that order, then it should print 4,3,2 at last.
And static keyword says initialization of a variable should be one time. It is not told in static that last activation record value will print every time. So, why three times '4' will be printed? What is memory allocation for static?