1.15 Java Sets and HashSets

Опубликовано: 12 Апрель 2026
на канале: Harshil's How To
223
12

This video covers another one of the Java collection methods and focuses on the Sets interfaces. As a specific example, we cover Java Hashsets and look at how we would implement a hashset within our code.

This involves importing the relevant libraries as well how to add and remove elements from our set. They are also quite similar to Java array lists in some of the collections methods that are available to them such as the size and clear method which we go into detail to as well.

All the code is available in the Harshil's How To git repository linked below:

https://github.com/HarshilsHowTo/15-J...

If you've found the content useful, please do like, share and subscribe !