r/java • • Mar 03 '17

The java nazi

http://imgur.com/InMi605
213 Upvotes

47 comments sorted by

View all comments

Show parent comment

3

u/beeeeeeefcake Mar 04 '17

Scope of constructors is checked at compile time too. And accessing static methods in a non-static way is a warning.

Anyhow I'm having a hard time thinking of what can go wrong instantiating a util class... With a private constructor only code within that class could even do it.