1. Statis Binding : Initialize the variable like private static HashMap map new HashMap();
2. Dynamic Binding: Initialize the variable like private HashMap map; and somewhere in the method do map new HashMap();
Please let me kknow if any change is there...!