Question: Question 20 (2 points) The concrete classes that implement the List interface are Question 20 options: AbstractList, AbstractSequentialList, and List LinkedList, ArrayList, and Vector LinkedList,

Question 20 (2 points)

Question 20 (2 points) The concrete classes that implement the List interface

The concrete classes that implement the List interface are

Question 20 options:

AbstractList, AbstractSequentialList, and List

LinkedList, ArrayList, and Vector

LinkedList, ArrayList, and AbstractList

None of the above

Question 21 (1 point)

are Question 20 options: AbstractList, AbstractSequentialList, and List LinkedList, ArrayList, and Vector

Comparator

Question 21 options:

specifies two methods, compare and equals

specifies two methods, compare and compareTo

specifies a single method, compareTo

specifies three methods, compareTo, compare, and equals

Question 22 (1 point)

LinkedList, ArrayList, and AbstractList None of the above Question 21 (1 point)

A TreeSet

Question 22 options:

is like a Set that allows elements to be retrieved according to their natural order, or according to an order specified by a Comparator

is a Set that allows elements to be retrieved in the order added

is like a Set, only it is faster

is a Set that organizes its elements in a tree according to the inheritance hierarchy of the elements

Question 23 (1 point)

Comparator Question 21 options: specifies two methods, compare and equals specifies two

A HashMap

Question 23 options:

uses hash codes to store keys

is a subclass of HashSet that implements the Map interface

is a subclass of Map that implements the HashCode interface

None of the above

Question 24 (1 point)

methods, compare and compareTo specifies a single method, compareTo specifies three methods,

A LinkedHashMap

Question 24 options:

provides an iterator that can be used to retrieve its elements

is an unordered collection that provides no control over the order of retrieval of stored elements

can be set up to maintain its keys in insert or access order

None of the above

Question 25 (1 point)

compareTo, compare, and equals Question 22 (1 point) A TreeSet Question 22

Collections

Question 25 options:

is a class that contains static methods for working with collections

is the interface from which all collection interfaces are derived

is the superclass of all abstract and concrete collection classes

None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!