ProAnswers.org

What is difference between HashSet and HashMap?

HashSet contains only values whereas HashMap contains entry(key,value).