Do we have any other way to add an element into Map without using put() in Java? If there are other ways, how do we do it?
Map<String,String> map = new HashMap<String,String>();
map.put("hi","HI");
How can we add without using put() in this case?