2D Array Creation and Access
AP Computer Science A · Flashcards · Application
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 13
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
Identify the method to get the number of rows in a 2D array.
QUESTION
How do you access the second column of the first row in a 2D array?
QUESTION
Which method accesses the element at row 2, column 1?
Tap to flip before you grade
ANSWER
array[2][1];. First index specifies row, second index specifies column.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card