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
Chemistry,
1 month ago
Business Studies,
1 month ago
India Languages,
3 months ago
Math,
10 months ago
Geography,
10 months ago
Math,
10 months ago