Java main args brackets

Hi there !

As java developper, I’d like to point a little synthax “error” on every puzzle.

public static void main(String args[]) { }

String args[] is the C-style declaration and is not recommended, the common main declaration is

public static void main(String[] args) { }

For newcomers it’s better to give them good practices and good templates !

2 Likes