For <code>int[] arr = new int[3];</code>, the values of the elements are
- A
Random
- B
All null
- Ccheck_circle
All 0
- D
Garbage from memory
Explanation
int arrays default to 0; double arrays to 0.0; boolean to false; reference to null.
AP Computer Science A· difficulty 3/5
For <code>int[] arr = new int[3];</code>, the values of the elements are
Random
All null
All 0
Garbage from memory
Explanation
int arrays default to 0; double arrays to 0.0; boolean to false; reference to null.
Want 10 more like this — adaptive to your weak spots?