Predict the output Map map=new HashMap(); map.put("John","India"); map.put("Pinky","California"); map.put("Tina","Germany"); map.put("Pinky","Russia"); Set mapset=map.entrySet(); System.out.println(mapset); [John=India, Pinky=Russia, Tina=Germany] [India, California, Germany, Russia] [John=India, Pinky=California, Tina=Germany, Pinky=Russia] [John=India, Pinky=California, Tina=Germany]
Answers
Answered by
5
Answer:
John-Indua, Pinky-russia , tina-germany
Explanation:
Similar questions
Math,
21 days ago
India Languages,
1 month ago
Math,
8 months ago
Geography,
8 months ago
Math,
8 months ago