Am new to java Collection classes ...
I have a method that returns a HashMap object with the following signature
HashMap<String, ArrayList>
The key is of type String, while the 'value' is an arraylist that contains String objects
Please tell me the way to iterate over them, so that I can print all the keys and their respective values contained in the arraylist
thanks
Start Free Trial