Joe Harry wrote:You have to understand what is meant by a static block and the sequence in which the runtime looks at your code!
Why ? There is no static block in the code.
Sergej Smoljanov wrote:I think that expression performed from left to right.
Yes. And any expressions in a method call parameter list are evaluated before the method is called.
So what you actually have is the equivalent of