| preferred AP College board partner for AP classes
AP Computer Science A/Unit 2: Using Objects
Start Practice TestPractice Test
About Exam
easy Solved by 15 students
Java Reference Type Declarations
< Prev
Next >

Which of the following code segments contains a set of syntactically correct variable declarations?

A

ArrayList<Integer> numbers; Scanner input; Random generator;

B

ArrayList numbers<Integer>; Scanner input; Random generator;

C

arraylist<integer> numbers; scanner input; random generator;

D

ArrayList<int> numbers; Scanner input; Random generator;

Hint
Did You Know?
Explain Why
Explain All Answers
Check Answer
Show Correct Answer
Report Question

Question Leaderboard

Rank
User
Correct Count
Attempt Count
Time
Score
#1chunxiangxu.cxu34 1m 19s 211
#2kaisuki11 0m 00s 100
#3liuwilliam07241011 0m 28s 72
#4lsj0803092212 0m 51s 39
#5jeonsaw172311 1m 09s 31
#6khanhnguyen.thor11 1m 34s 6
#7zgj0731041712 1m 36s -6
#8richa.tuli11 1m 57s -17
#9psak1201 0m 41s -51
#1029AmeliaC25 8m 40s -350
Items per page:
10
1 – 10 of 11
No comments yet. Be the first to comment!

AI Tutor

How can I help?

APFIVE © 2020.
Email: apfive@apfive.org|Privacy Policy