
Java Collection Set
Quiz
•
Computers
•
University
•
Hard
A Vijay Kumar
Used 23+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
-Contains no duplicate elements.
-Can contain at most one Null value.
-Elements are not key-value pairs.
-Accessing an element can be almost as fast as performing a similar operation on an array.
Which of these classes provides the specified features?
LinkedList
TreeMap
HashSet
LinkedHashMap
HashMap
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following statements are true with respect to sets as objects of Hashset?
Set is always an ordered group of objects.
Set allows duplicate objects.
Set does not allow duplicate objects.
Set supports iterators.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following interfaces declares a core method that all collections will have?
EventListener
Comparator
Set
Collection
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements are correct with respect to a Map in Java?
A map can have iterators for accessing its elements.
The elements of a map are accessed by the respective keys.
Maps are the same as a SortedSet.
None of these.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following interfaces must contain a unique element?
List
Set
Array
Collection
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements are correct with respect to a List in Java?
A List is implemented in the "first-in, first-out" (FIFO) order.
A List is implemented in the "first-in, last-out" (FILO) order.
Lists support duplicate items.
None of these.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We need to access elements frequently by using index...
Which one is better solution?
Set
List
Map
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
Network topologies
Quiz
•
8th Grade - University
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
20 questions
WML & WAP
Quiz
•
University
15 questions
LATIHAN SOAL PEMROGRAMAN
Quiz
•
9th Grade - University
15 questions
ENGINEERING DATA ANALYSIS PRELIM
Quiz
•
University
20 questions
Software Engineering Quiz 1
Quiz
•
University
10 questions
Machine Learning (Introduction)
Quiz
•
University
10 questions
Planning and Implementation of Information Security
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
