Hi folks, I'm in need to create a HashMap within a HashMap within a HashMap, but I'm finding it hard to implement. I'm new at Java so this is alittle bit beyond what I did on the practical side, so any help would be much appreciated. I read a ton of tutorials, but couldn't make it work, so an example with code would be great!
I need to compare an input word with the first hashmap and give a response, but the second input should only check within the second HashMap depth taking into account the first response and the third one should be like wise...
The idea is to have (keyword, values) like: (windows, "What is the version you use?"), so that the second answer would be within the windows hashMap (windows8, "32 or 64 bits?") and the third one would only go into the windows8 HashMap.
Is this the best way to implement this?
Any help would be much appreciated.
Cheers!