Katelynkitkat181 Katelynkitkat181
  • 22-08-2020
  • Computers and Technology
contestada

To store non-duplicated objects in the order in which they are inserted, use:______
a. HashSet
b. LinkedHashSet
c. TreeSet
d. ArrayList
e. LinkedList

Respuesta :

isaacoranseola
isaacoranseola isaacoranseola
  • 22-08-2020

Answer:

b. LinkedHashSet

Explanation:

A LinkedHashSet is an ordered version of HashSet that maintains a doubly-linked List across all elements. When the iteration order is needed to be maintained this class is used. LinkedHashSet maintains a linked list of the entries in the set, in the order in which they were inserted.

Answer Link

Otras preguntas

whats the most accurate estimation of 65+77
please explain how to solve this  On Monday,it took Helen 3 hours to do  a page of science homework exercises.The next day she did the same number of exercises
A pencil measures 14 cm long. How many millimeters long is it?
A pencil measures 14 cm long. How many millimeters long is it?
which of the following represents the most accurate estimation of 38+23
A pencil measures 14 cm long. How many millimeters long is it?
why did people immigrate to the United States in the late 1800s?
''Life in a city is more rewarding than life outside a city."List two or three arguments in favor of this opinion and two or three arguments opposing this opini
A pencil measures 14 cm long. How many millimeters long is it?
whats the most accurate estimation of 65+77