1.

Which of these method is used to add an element to the start of a LinkedList object?(a) add()(b) first()(c) AddFirst()(d) addFirst()I had been asked this question during an interview for a job.Enquiry is from Java.util topic in chapter java.util – The Collections Framework of Java

Answer»

The CORRECT CHOICE is (d) addFirst()

To ELABORATE: NONE.



Discussion

No Comment Found

Related InterviewSolutions