Verityprep
Question Bank · Unit 4

AP® Computer Science A Data Collections Practice Questions

Work through AP Computer Science A practice questions on Data Collections, then check each answer against a worked solution.

Free · no sign-up Open questions need no account. Sign up or log in to open the rest.

Questions 961–970 of 1,222
  1. 961
  2. 962
  3. 963
  4. 964
  5. 965
  6. 966
  7. 967
  8. 968
  9. 969
  10. 970

Question 961

Multiple choice Arrays
Integer[] arr = new Integer[3];…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 962

Multiple choice Arraylists
ArrayList<Integer> list = null;…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 963

Multiple choice Arraylists
ArrayList<Integer> list = new…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 964

Multiple choice Arrays
String[] arr = new String[3];…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 965

Multiple choice Arrays
String[] arr = null; if (arr == null) {…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 966

Multiple choice Arraylists
ArrayList<String> list = null;…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 967

Multiple choice Arraylists
ArrayList<String> list = new ArrayList<String>();…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 968

Multiple choice Arraylists
ArrayList<String> list = new ArrayList<String>();…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 969

Multiple choice 2D Arrays
int[][] arr = new int[2][3];…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 970

Multiple choice 2D Arrays
int[][] arr = new int[2][3];…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 961 of 1,222
Page 97 of 123