Ask Question
11 March, 15:13

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.

+4
Answers (1)
  1. 11 March, 18:37
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers