
Java Collections
Authored by Assistant Chennai
Professional Development
Professional Development
Used 509+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 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 CHOICE QUESTION
30 sec • 1 pt
Which of the following statement about Set is true?
A HashSet cannot have a null value.
Set allows duplicate values.
Set allows null values but only single occurrence.
Set extends the Java.util.collection interface.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
-Entries are organized as key/value pairs.
-Duplicate entries replace old entries.
-Entries are sorted using a Comparator or the Comparable interface.
Which interface of the java.util package offers the specified behavior?
List
Map
Set
SortedSet
SortedMap
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
{1=C, 2=JavaEE, 4=Python, 3=PHP}
{1=C, 2=JavaSE, 3=Python, 4=PHP}
{1=C, 2=JavaEE, 3=Python, 4=PHP}
{1=C, 2=JavaSE,2=JavaEE, 3=Python, 4=PHP}
NullPointerException
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
{null=null, a=null, b=JavaSE, c=PHP, d=Python}
{a=null, b=JavaSE, c=PHP, d=Python}
{b=JavaSE, c=PHP, d=Python}
Compilation Fails
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4
5
6
12
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
-Entries are not organized as key/value pairs.
-Duplicate entries are rejected.
Which interface of the java.util package offers the specified behavior?
List
Map
Set
None of the above
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
10 questions
Introduction to business analytics
Quiz
•
Professional Development
16 questions
Plans & Maxis Device Contract
Quiz
•
Professional Development
16 questions
Quiz Aviasi p 3
Quiz
•
KG - Professional Dev...
11 questions
Famous Personalities
Quiz
•
Professional Development
10 questions
Form Extraordinary dan Checklis 2025
Quiz
•
Professional Development
12 questions
Product Update session 24-06-23
Quiz
•
Professional Development
15 questions
Quiz TNH Bandung
Quiz
•
Professional Development
10 questions
Fungsi Asas Aplikasi Google Classroom
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade