Flashcards in Chapter 16 Review Deck (16):
An object that iterates through a collection and can remove elements from the collection during the iteration
An element in a list can be accessed by using the elements
The automatic conversion of a value of primitive type to an object of the corresponding type-wrapper class
The automatic conversion of an object of a type-wrapper class to the equivalent primitive type
What two data structures in Java provide array like storage but can be resized dynamically.
ArrayList and Vector
You can use a(n) ___________ to create a collection that offers only read-write access to yourself
Assuming that myArray contains references to double objects, ________________ occurs when the statement "double number = myArray;" executes.
Auto - Unboxing
The algorithm ____________ determines if two collections have elements in common.
Values of primitive types can be stored in collections
A Set can contain duplicate values
A map can contain duplicate keys
A linked list can contain duplicate values
A collection is a interface
false (Collections is a class; Collection is an interface)
Iterators can remove elements
With hashing, as the load factor increases the chance of collision decreases