Question 13
Back to Exercise
What is a jagged array in Java?
- A An unsorted array
- B A 2D array whose rows have different lengths Correct
- C An array with gaps
- D An array of chars
Correct Answer: Option B
Possible because a 2D array is an array of separate row arrays.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!