Ask Question
10 November, 06:10

Which of the following statements are true? All the methods in HashSet are inherited from the Collection interface. All the methods in Set are inherited from the Collection interface. All the concrete classes of Collection have at least two constructors. One is the no-arg constructor that constructs an empty collection. The other constructs instances from a collection. All the methods in LinkedHashSet are inherited from the Collection interface. All the methods in TreeSet are inherited from the Collection interface.

+5
Answers (1)
  1. 10 November, 08:27
    0
    All the methods in HashSet are inherited from the Collection interface.

    All the methods in LinkedHashSet are inherited from the Collection interface.

    All the methods in Set are inherited from the Collection interface.

    Explanation:

    These listed statements are true;

    1. All the methods in HashSet are inherited from the Collection interface. True

    2. All the methods in LinkedHashSet are inherited from the Collection interface. This is also true

    3. All the methods in Set are inherited from the Collection interface. Also this statement is true.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following statements are true? All the methods in HashSet are inherited from the Collection interface. All the methods in Set ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers