I am doing an application which needs dynamic creation of Hash Maps.
Map<K,V> parent=new Hash Map<K,V>(); if(Some Condition) { //Parent map will be added with another sub map parent = Map<K,Map<K,V>>(); // and So on }
I need only 3 levels Like this
parent = Map<K,Map<K,Map<K,V>>>();
var