I have the following HashMap where the key is String and value is represented by a HashMap.
HashMap<String, HashMap<String, Integer> outerMap = new HashMap<String,HashMap<String, Integer>();
HashMap<String, Integer> innerMap = new HashMap<String, Integer>();
innerMap.put("Amount", 2000);
outerMap.put("TutionFee", innerMap);
Now I want to update the value of Amount
key. How can I update the value of Amount
key?