Suppose that you would like to create an instance of a new Map that has an iteration order that is the same as the iteration order of an existing instance of aMap.
Which concrete implementation of the Map interface should be used for the new instance

TreeMap
 
HashMap
 
LinkedHashMap
 
The answer depends on the implementation of the existing instance.
 

Answer

A Foxoyo User

Statistics

0 Level
0
Attempts
0
Accuracy
0
Bookmark
2
Tags

Quizes

Related Questions