What is the difference between Collection and a Set? - Cracking the Java Coding Interview

preview_player
Показать описание
Cracking the #Java #Coding #Interview - Question 29: What is the difference between Collection and a Set?
Рекомендации по теме
Комментарии
Автор

You embraced the short style with "brio".
Thanks José.

Talaria.School
Автор

Perfect. Short and sweet summary. Thank you.

raghavanaliassaravananm
Автор

I didn't quite get what you meant by "the iterability of ArrayList". Isn't any Set iterable anyways? Or did you mean that the iterator in LinkedHashSet preserves order?

miguelibars
Автор

Its become more complicated after your explanations

prasadch