Java Reference
Java Reference Home
|
Smart Soft Home
Square Brackets []
Used to denote an array data type: "int[] x" is pronounced "int array x".
Used to an array index: x[5] is pronounced x of 5. It refers to the 5th element of array x.