Proper Java coding style

Submitted By: admin on July 10, 2017




Proper Java coding style Source:

There is also String[]args.

And, as I learned recently, you can nowadays also just write String... args

- inu-no-policemen

Site Comments (1)

Please Signin or Signup to add a comment


July 18, 2017, 10:20 pm

Tim58bb56b454b99 wrote:

In java, when declating fields or local variables, `int foo[]` is actually the best way. When declaring parameters, `int[] foo` should be used. This is due to the fact, that with `int[] foo, bar[], snafu[][]`, snafu is actually 3dimensional.