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 a Map. Which concrete implementation of the Map interface should be used for the new instance? - Study24x7
Social learning Network
27 Feb 2023 12:46 PM study24x7 study24x7

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 a Map. Which concrete implementation of the Map interface should be used for the new instance?

A

TreeMap

B

HashMap

C

LinkedHashMap

D

The answer depends on the implementation of the existing instance.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles