// Way 4: Get entrySet() and Iterate using Iterator interface + " Iterate using Iterator interface\n");
// getting entrySet() into Set
Set<Entry<String, String>> entrySet2 = tMap.entrySet();
// Collection Iterator
Iterator<Entry<String, String>> itr2 = entrySet2.iterator();
while(itr2.hasNext()) {
Entry<String, String> entry2 = itr2.next();
System.out.println("Key : " + entry2.getKey() + "\t\t"
+ "Value : " + entry2.getValue());
}