Multiple choice

How many constructors are there for LinkedHashSet?

  1. 6

  2. 5

  3. 4

  4. 3

  5. 2

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This is the correct answer because there are four constructors in the LinkedHashSet. These are :-LinkedHashSet () LinkedHashSet (c : Collection) LinkedHashSet (initialcapacity : int) LinkedHashSet (initialcapacity : int , loadfactor : float). So, this is the correct answer.