Which of these method is used to insert value and its key?
(a) put()
(b) set()
(c) insertElement()
(d) addElement()
I have been asked this question during an interview for a job.
I'd like to ask this question from Java.util in portion java.util – The Collections Framework of Java