From The Java Tutorials:
An array's type is written as type[], where type is the data type of the contained elements; the brackets are special symbols indicating that this variable holds an array
and
You can also place the brackets after the array's name ... float anArrayOfFloats[];
However, convention discourages this form; the brackets identify the array type and should appear with the type designation.
And in the case of method parameters:
You can use a construct called varargs to pass an arbitrary number of values to a method ... To use varargs, you follow the type of the last parameter by an ellipsis (three dots, ...), then a space, and the parameter name. The method can then be called with any number of that parameter, including none.