A key advantage of ArrayList over int[] is
- A
Smaller memory
- Bcheck_circle
Dynamic size (grows as needed)
- C
Holds primitives directly
- D
Faster random access
Explanation
ArrayList grows automatically; arrays are fixed-size.
AP Computer Science A· difficulty 3/5
A key advantage of ArrayList over int[] is
Smaller memory
Dynamic size (grows as needed)
Holds primitives directly
Faster random access
Explanation
ArrayList grows automatically; arrays are fixed-size.
Want 10 more like this — adaptive to your weak spots?