-
What is the unique feature of LinkedHashSet?
-
- The elements in the collection are linked to each other
- It provides a way to store key values with uniqueness
- It maintains the insertion order and guarantees uniqueness
- It is not a valid class
- None of these
Correct Option: C
Set is a collection of unique elements.HashSet has the behavior of Set and stores key value pairs. The LinkedHashSet stores the key value pairs in the order of insertion.