Default values: Numeric array elements default to 0, boolean to false, and object references to null.
How to apply it: Predict that new int[5] contains five zeros initially.
Course: AP Computer Science A · Unit: Array
Practice questions about Default values on AimFive — get rubric-based feedback showing exactly which points you earned.
AP and Advanced Placement are trademarks of College Board. AimFive is not affiliated with or endorsed by College Board.