Arrays Flashcards

1
Q

What do two indexes mean in data type declaration?

A

The first index specifies the array number, the second specifies the element in the array specified.

int [][] my numbers [ [1234], [567]]

Systemoutprintln(myNumbers[1][2]) outputs 7

How well did you know this?
1
Not at all
2
3
4
5
Perfectly