Re: Storing Data in Hashmap and getting the same !!!
Posted By:
AlessandroA_Garbagnati
Posted On:
Wednesday, August 1, 2001 08:36 AM
Hi,
If you execute the two commands from the command line, that means that you are using two different Virtual Machine and, therefore, you can't share information.
What you can do, eventually, is having the get.java storing data in a hashtable and then serialize it on the disk, and having show.java reading the serialized hashtable and display the value to the user.
Maybe there are other solution, but I think this is the easiest.