Solved

Assume You Have Created a Linked List Named MyList That

Question 75

Multiple Choice

Assume you have created a linked list named myList that currently holds some number of String objects. Which of the following statements correctly adds a new element to the beginning of myList?


A) myList.addFirst("Harry") ;
B) myList.add("Harry") ;
C) myList.insert("Harry") ;
D) myList.put("Harry") ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions