Set is one of the child interfaces of Collection and is used to store a group of individual objects. The main thing about Set is, it will not allow duplicate elements to be inserted. HashSet is one of the implementation classes for Set. TreeSet will preserve the natural sorting order.
Community:
Best way to reach me (replies will be faster): YouTube comment section
If you want to post your code snippet/screenshot, please ask my forum:
http://bit.ly/2C2ZISR
Also, you can follow me on Facebook and Instagram.
Facebook: https://bit.ly/2TqPlis
Instagram: https://bit.ly/2Ez36rH
#JavaForSelenium #TreeSet #LearnAutomationOnline