Welcome to JavaRanch. Please UseCodeTags when you post source code, so that it's easier to read your code. I've added them for you in your post above (I can edit your post because I'm a moderator on this forum).
The println statement in line 9 is in an instance initializer block. It will be executed when you create a new instance of the class Test. If you change it to a static initializer block, it will be called when the class is loaded - so then you don't need to create an instance of the class: