开发者

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

Wha开发者_如何学Pythont effect does static {} have?

There is one such code block in SimpleXlsSlurper for example.


There is no point in having an empty static initializer, neither in Java nor in Groovy.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜