Map mapObj = new HashMap();for(Iterator it=mapObj.keySet().iterator();it.hasNext();){ String key = it.next(); String value = mapObj.get(key); System.out.println(key + " : " + value);}