Recently I came across the following definition when preparing for a Java interview:
All executable code executes either within an initializer list or a method.
But from my understanding, Java does not support initializer list as mentioned here
Then why does the author gave a definition like above, when Java does not support initializer list?