Implementing 2D Array Algorithms
AP Computer Science A · Flashcards · Application
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 8
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
How do you set all elements in the first row to 0?
QUESTION
What is the result of accessing array[-1][0]?
QUESTION
Find and correct the error: int[][] array = new int[][3];
Tap to flip before you grade
ANSWER
Specify row size: new int[3][]. Row dimension must be specified first in array creation.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card