Java Arrays: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
=Overview= | =Overview= | ||
Array instances are objects. They are dynamically created | Array instances are objects. They are dynamically created, they can be assigned to a variable of type <code>Object</code> and all methods of class <code>Object</code> may be invoked on an array. | ||
Revision as of 00:31, 2 November 2021
External
- https://docs.oracle.com/javase/specs/jls/se8/html/jls-10.html
- https://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html
Internal
Overview
Array instances are objects. They are dynamically created, they can be assigned to a variable of type Object
and all methods of class Object
may be invoked on an array.
array component
array element
Array Types
Array Variables
Array Creation
Array Creation with an Expression
Array Creation with an Array Initializer
Array Access
Multidimensional Arrays
A multidimensional array is an array of multidimensional arrays.