
Collections
Quiz
•
Computers
•
1st Grade
•
Medium
Jose Diaz
Used 3+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Identify examples of autoboxing. Please select 3 options.
Float f = 2.0;
Float f = 2.0f;
Byte b = 2;
Character c = 2;
String s = "x";
2.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Identify examples of auto-unboxing. Please select 2 options.
int getValue(){ return new int[]{ 1 }; }
new ArrayList<Integer>().add(1);
List<Integer>.of(1, 2, 3 );
int ival = optionalInt.get(); //assuming optionalInt is of type Optional<Integer>
long lv = Integer.valueOf(10);
3.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Which interfaces does java.util.NavigableMap extend directly or indirectly? . Please select 2 options.
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Please select 1 option.
1
2
3
4
None of these
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Please select 1 option.
[b]
[c]
[b, c, a]
[a, b, c, a]
Exception at runtime
6.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Which of these implementations for collection framework interfaces are provided in the standard JDK?. Please select 3 options.
TreeMap
ArrayMap
HashSet
ArrayList
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Please select 1 option.
ArrayList<Vehicle> al1 = new ArrayList<>();
al1.add(new SUV());
ArrayList<Drivable> al2 = new ArrayList<>();
al2.add(new Car());
ArrayList<Drivable> al3 = new ArrayList<>();
al3.add(new SUV());
ArrayList<SUV> al4 = new ArrayList<>();
al4.add(new Car());
ArrayList<Vehicle> al5 = new ArrayList<>();
al5.add(new Car());
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Bài tập Logo
Quiz
•
1st - 12th Grade
10 questions
Unit 6 -Computers in society
Quiz
•
1st Grade
15 questions
Programación Web
Quiz
•
1st Grade
15 questions
Problem Analysis
Quiz
•
1st Grade
15 questions
Starting Searches
Quiz
•
1st - 5th Grade
15 questions
coding
Quiz
•
KG - Professional Dev...
11 questions
RPA QUIZ
Quiz
•
1st Grade
10 questions
Quiz 3 - 14/07/2021
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
6 questions
Gravity
Quiz
•
1st Grade
20 questions
addition
Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences
Quiz
•
1st - 3rd Grade
26 questions
SLIME!!!!!
Quiz
•
KG - 12th Grade
21 questions
D189 1st Grade OG 2a Concept 39-40
Quiz
•
1st Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter
Interactive video
•
1st - 5th Grade