7 ms·
I'm not sure that's any better. The static block is rarely used in Java, so I think you'd probably be better off teaching them how to use main. It also doesn't
by weavejester 16y ago
I'm not sure that's any better. The static block is rarely used in Java, so I think you'd probably be better off teaching them how to use main.
It also doesn't cut down much on the amount of boilerplate you need.