Which of these methods can be used to obtain set of all keys in a map?

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ìm kiếm

Back
Top