Putting words from an array into a HashMap and a HashSet
问题 I am coding in blueJ and what I am trying to do is this: 1.a) Create a getWordSet() method in WordGroup which: takes another WordGroup object as a parameter creates a HashSet<String> uses two for loops to put all the words from this and the parameter WordGroup into the HashSet returns the HashSet<String> 1.b) In the main method: use the getWordSet() method using the two WordGroup s iterate or loop over the HashSet returned and print the words from it 2.a) Create a method in the WordGroup