Multiple Choice
In a linked list implementation using a reference first to point to the first node of the list,a method isEmpty() can test to see if the list is empty by executing the statement(s)
A) return null;
B) first = null;return first;
C) if (isEmpty(..return true;else return false;
D) return first == null;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q11: A linked list class uses a Node
Q12: In Java,the first node in a list
Q13: In a typical circular doubly linked list,a
Q14: A linked list class uses a Node
Q15: A linked list class uses a Node
Q17: To remove a node X with index
Q18: A method int size( )in a linked
Q19: A circularly linked list makes it easy
Q20: A Node class for a linked list
Q21: A recursive computation of the size of