Q Quốc Đặng Member Sep 19, 2021 #1 Which of these methods can be used to obtain set of all keys in a map? A. getAll() B. getKeys() C. keyall() D. keySet()
Which of these methods can be used to obtain set of all keys in a map? A. getAll() B. getKeys() C. keyall() D. keySet()
T Trang Esther New member Sep 19, 2021 #2 Answer: d Explanation: keySet() methods is used to get a set containing all the keys used in a map. This method provides set view of the keys in the invoking map. Upvote 0 Downvote
Answer: d Explanation: keySet() methods is used to get a set containing all the keys used in a map. This method provides set view of the keys in the invoking map.