Labs
Sets can only contain unique elements. In these labs we will examine and use this feature.
- The file
names.txtat the root of theSetInterfaceproject contains many names. Create a program to: - Add each name to a
List. - Add each name to a
Set. - Display the size of the
List, the size of theSet, and the number of lines in thenames.txtfile.
(Solution: NameApp.java)