AP Computer Science Amediummcq1 pt
Which declaration is valid for an array?
A.int[] nums;
B.int nums[]();
C.array int nums;
D.int nums[5];
The declaration is legal.
Aint[] nums;
Practice more AP Computer Science A questions with full explanations
Practice Unit 6: Array Questions →