Ask Question
24 October, 16:49

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. 24 October, 17:06
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers