how to use HashMap in JRE javaetk 1.4.2

350 Views Asked by At

Basically I am doing project on Ewon Flexy hardware, Ewon hardware only supports jre javaetk, which is quite old. Now I have to use the concepts of HashMap in my project and but javaetk doesn't support HashMap . So is there any way I can use the functionality of latest JRE in older version of JRE?? Thanks in advance!

1

There are 1 best solutions below

0
On

You cannot provide type for key and value but you can use it as follows: HashMap map = new HashMap() or Map map = new HashMap()