Quiz Complete, well Done!
Which of the following is a real-life example of a 2 dimensional array?
Row
1. The size of a 2 dimensional array is determined by the number of
and columns.
What is the index of the first element in a 2 dimensional array?
Which indexing is used in a 2 dimensional array?
The first index of a 2 dimensional array refers to the
number.
10. To iterate over the elements of a 2 dimensional array, you can use nested
loops.
To traverse all elements in a 2 dimensional array, you can use nested
.
2D Array
A 2 dimensional array is also known as a
.
How do you access an element in a 2 dimensional array?
How do you iterate over all elements in a 2 dimensional array?
3. The first element in a 2 dimensional array is located at
0 position.
The second index of a 2 dimensional array refers to the
number.
To initialize a 2 dimensional array, you need to specify the number of rows and
it will have.
Array Length
Modification
How do you find the number of rows in a 2 Dimensional Array in Java?
What is a 2 Dimensional Array?
9. The length of a 2 dimensional array is given by
for the rows and by [[len(array_name[0])]] for the columns.