Which of these methods can be used to obtain set of all keys in a map?
(a) getAll()
(b) getKeys()
(c) keyall()
(d) keySet()
The question was posed to me in my homework.
This intriguing question originated from Java.util in portion java.util – The Collections Framework of Java