AP CSA - Advanced Placement Computer Science A Practice Test
AP CSA Arrays and ArrayLists 3
What happens if you try to store a double value in an int array in Java?
Select your answer
A
Compile-time error
B
Runtime error
C
The value is automatically truncated
D
The array resizes
Hint