0
How do you create a constructor for a hashdet that adds the elements to the colections?
2 Réponses
0
Not quite sure what you're trying to say but this might help.
http://www.tutorialspoint.com/java/java_hashset_class.htm
This link explains all the details necessary for hashSets including code examples.
0
written you an example of what I think you're looking for in two different ways:
http://www.sololearn.com/app/java/playground/cim55VFiSykE/