Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeLanguages
Java
jls21
Array Types

Java Language Specification, Version Java SE 21 Edition
10.1. Array Types

Read this Section of the Authoritative Specification

https://docs.oracle.com/javase/specs/jls/se21/html/jls-10.html#jls-10.1

7 Documented Misconceptions

Misconception
ArrayBracketCountIsLength
The number of brackets in an array type or an array initializer corresponds to the length of the array
Misconception
ArrayElementTypeRepeats
The type of a multi-dimensional array is written as T[] T[] T[]
Misconception
ArrayElementsUntyped
Elements of arrays are untyped
Misconception
ArrayLengthPartOfType
The length of an array is part of its type
Misconception
ArrayListIsArray
ArrayLists are arrays
Misconception
ArrayRankIsLength
Array rank and array length are the same thing
Misconception
ArrayRankNotPartOfType
The rank of an array is not part of its type

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors