2D Array Traversals
AP Computer Science A · Flashcards · Application
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 12
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What does 'array[0][array[0].length - 1]' access in a 2D array?
QUESTION
What does 'array.length * array[0].length' compute for a 2D array?
QUESTION
What is the result of 'array[2].length' if array has 3 rows, unequal columns?
Tap to flip before you grade
ANSWER
Length of third row. Returns column count specifically for row at index 2.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card