What is the point of static {} inside a Groovy class? -


static {} what is the effect?

One such example is to block the code.

There is no point in being a blank starter, neither in Java nor in Groovy.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

javascript - What is an alternative to using getElementByClass for hiding multiple elements? -

c# - GetType() == type perfomance question -