Java Maps Review
Flashcard
•
Computers
•
11th Grade - University
•
Hard
Wayground Content
FREE Resource
Student preview

16 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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.
Back
Set extends the Java.util.collection interface.
2.
FLASHCARD QUESTION
Front
Which interface of the java.util package offers the specified behavior: -Entries are organized as key/value pairs. -Duplicate entries replace old entries. -Entries are sorted using a Comparator or the Comparable interface?
Back
SortedMap
3.
FLASHCARD QUESTION
Front
Back
{1=C, 2=JavaEE, 3=Python, 4=PHP}
4.
FLASHCARD QUESTION
Front
Back
{null=null, a=null, b=JavaSE, c=PHP, d=Python}
5.
FLASHCARD QUESTION
Front
Back
5
6.
FLASHCARD QUESTION
Front
Which of the following TreeMap instantiations would create a TreeMap that could store String-Integer pairs? Options: TreeMap<String,Integer> map; map = new TreeMap <String,Integer>();, TreeMap<Integer,String> map; map = new TreeMap <Integer,String>();, TreeMap<Double,String> map; map = new TreeMap <Double,String>();, TreeMap<Boolean,String> map; map = new TreeMap <Boolean,String>();
Back
TreeMap<String,Integer> map;
map = new TreeMap <String,Integer>();
7.
FLASHCARD QUESTION
Front
Which of the following Map methods will add a
Back
put()
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
12 questions
Puissances
Flashcard
•
KG
10 questions
Dulce Et Decorum Est - Revision Homework
Flashcard
•
12th Grade
7 questions
Sumas y Restas
Flashcard
•
KG
8 questions
Formulación Orgánica
Flashcard
•
12th Grade
10 questions
Relación e Importancia de la Epistemología con la Educación
Flashcard
•
University
10 questions
5.1 ΠΕΡΙΒΑΛΛΟΝ
Flashcard
•
9th Grade - University
12 questions
lý luận nhận thức
Flashcard
•
University
11 questions
Genetic Engineering Concepts
Flashcard
•
11th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade