✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Select good choices for an implementation of a collection? a) If elements are given as key-value pairs, a Set should be used. b) If indexing elements is important, use a Set. c) If no duplicates should be allowed and elements should be ordered, select a HashSet. d) If you need a sequence of elements and you plan to get elements often, use an ArrayList.