2D Array Traversals
AP Computer Science A · Flashcards
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 34
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
How do you initialize a 2D array with values 1 to 4 in Java?
QUESTION
What is the default value of elements in a newly created boolean 2D array?
QUESTION
Identify the method to get the number of columns in a 2D array.
Tap to flip before you grade
ANSWER
array[0].length. Accesses the length of the first row to get column count.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card