Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeLanguages
Java
jls21
Array Access

Java Language Specification, Version Java SE 21 Edition
10.4. Array Access

Read this Section of the Authoritative Specification

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

3 Documented Misconceptions

Misconception
ArrayAccessWithParentheses
Parentheses are used to access an element in an array
Misconception
OnlyInnermostArrayElements
Only the elements of the innermost array of a multi-dimensional array are accessible
Misconception
OutOfBoundsElementsAreNull
Out-of-bounds array elements are null

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors