Java Language Specification, Version Java SE 21 Edition
10.6. Array Initializers5 Documented Misconceptions
ArrayAllocationWithoutNew
Arrays are created without the new keyword
ArrayBracketCountIsLength
The number of brackets in an array type or an array initializer corresponds to the length of the array
ArrayLengthCannotBeZero
An array cannot have a length of 0 elements
ArrayInitializerContentsInBrackets
Array initializers list the elements in square brackets
NoJaggedArrays
Multi-dimensional arrays have a rectangular shape