Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/27

Click to flip

27 Cards in this Set

  • Front
  • Back
Does HashSet allow duplicates?
No
Does HashSet use last accessed order
No, it offers no ordering
T or F: Set does not allow duplicates
true
Does List provide ordered access?
Yes
Set's major implementations are:
HashSet
TreeSet
LinkedHashSet
The Map interface provides ordering of its elements
No
The Map interface provides key-value pairs
Yes
TreeMap allows random access and synchronized methods.
No
TreeMap offers unique keys mapped to value objects
Yes
TreeMap has a sorted order of keys
Yes
Vector class does not allow duplicate keys
No, don't think it has keys
Vector class may use last accessed order
No
Vector class allows random access
Yes
Vector class has synchonized methods
Yes
LinkedHashMap does not allow duplicate keys
True
LinkedHashMap may use last accessed order
True
LinkedHashMap allows random access
False
LinkedHashMap has synchronized methods
False
What do subclasses of Collection inherit?
Iterable interface's iterator().
Do Lists maintain order?
Yes
Duplicates are not allowed in the List class
False
Set allows duplicate elements
False
Maps have unique keys that facilitate search for their content
Yes
LinkedHashSet maintains a doubly linked list ordered by insertion.
True
LinkedHashSet is not synchronized
True
LinkedHashSet is sorted
False
HashMaps must use a non-null object as a key or a value
HashMaps can use any null object as key or value