Java Arrays: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
=Overview=
=Overview=


Array instances are objects. They are dynamically created and can be assigned to a variable of type <code>Object</code>.
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

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.

Bidimensional Arrays

Tridimensional Arrays