What is the [] in Java?

A Java array variable can also be declared like other variables with [] after the data type. The variables in the array are ordered, and each has an index beginning from 0. Java array can be also be used as a static field, a local variable, or a method parameter.

Read more

What is the [] in Java?

A Java array variable can also be declared like other variables with [] after the data type. The variables in the array are ordered, and each has an index beginning from 0. Java array can be also be used as a static field, a local variable, or a method parameter.

Read more