Question: The method ___________, of the class LinkedList , appends the element specified by the parameter object elem to the end of the list. publc boolean

The method ___________, of the class LinkedList, appends the element specified by the parameter object elem to the end of the list.

publc boolean add(E elem)
public void add(int index, E elem)
public boolean addAll(Collection coll)
public boolean addLast(E elem)

Flag this Question

Question 32 pts

The interface Comparable has one method header (method signature), which is that of ________.

compareTo()
clone()
getCopy()
equals()

Flag this Question

Question 42 pts

Type parameters in a generic method are separated by _________.

colons
commas
dots
semicolons

Flag this Question

Question 52 pts

_____________ classes are used to enable the use of primitive type values as objects.

Generic
Wrapper
Autoboxing
Cloneable

Flag this Question

Question 62 pts

The class HashSet extends the class___________ and implements the interface Set.

AbstractMap
AbstractSequentialList
AbstractList
AbstractSet

Flag this Question

Question 72 pts

The Iterator interface provides a method to return the index of elements in a collection

True
False

Flag this Question

Question 82 pts

The method lastIndexOf(Object obj) of the interface AbstractList returns false when obj is not found.

True
False

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!