posted 16 years ago
I am having two hash Maps ,?How can I add those two
for Example:
HashMap h1=new HashMap();
h1.add("1997","300");
h2.add("1998","400);
HashMap h2=new HashMap();
h2.add("1997","200");
h2.add("1998","700");
HashMap Total=new HashMap();
I want the resultant HshMap like this
total={(997,500),(1998,1100)};
Any one please give me the code
Tanks&& Regards,
Sireesha