What is the difference between both of result.
- When I've null value with key 
- When key itself is not exist 
In above both condition result is null. So how can i identify my key value
Map map = new HashMap();
map.put(1,null);
System.out.println(map.get(1));
System.out.println(map.get(2));
Answer:
null
null
 
     
     
    