GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

Arrays

ShadowTajun Englisch 1 Seite

Inhalt der Notizen (1)

Seite 1

the number of containers making up an array is fixed when it is created.

each container within the array holds the same data type.

In programming terms, an array is made up of a defined number of ‘elements’, each element is of the same data type.

A series of variables of a single data type can be replaced with an array.

// declares an array of integers int[] myArray;

// declares an array of integers

int[] myArray;

The above statement declares an array of integers named myArray.You need to allocate enough space in the computer memory to store the 3 integers that make up the array.

// allocates memory for 3 integers

myArray = new int[3];

New Page

Informationen

Beschreibung
Notiz am Arrays, erstellt von ShadowTajun am 20/03/2014.
Erstellt von
ShadowTajun
Aufrufe
21
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck