AP Computer Science Amediummcq1 pt
Which statement creates an array of 3 Strings?
A.String[] s = new String[3];
B.String s = new String[3];
C.String[] s = new String;
D.new String[3] s;
The declaration creates 3 String references.
AString[] s = new String[3];
Practice more AP Computer Science A questions with full explanations
Practice Unit 6: Array Questions →