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:

Verified
Correct Answer:
Verified
Q70: To create a TreeSet for a class
Q71: A list is a collection that _.<br>A)
Q72: Which data structure would best be used
Q73: Consider the following code snippet: LinkedList<String> myLList
Q74: Which data structure would best be used
Q76: You need to access values in objects
Q77: Assume that you have declared a set
Q78: Consider the following code snippet: PriorityQueue<String> stringQueue
Q79: Which of the following statements about manipulating
Q80: Assume you are using a doubly-linked list