Multiple Choice
If a linked list is empty,the statement head.getNext() will throw a(n) ______.
A) IllegalAccessException
B) ArithmeticException
C) IndexOutOfBoundsException
D) NullPointerException
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q41: In all circular linked lists,_.<br>A)every node references
Q42: Each node in a linear linked list
Q43: What information is stored in a reference
Q44: According to the principle of information hiding,the
Q45: The ADT list can have an arbitrary
Q47: In the following code segment: final int
Q48: Name two advantages of implementing the ADT
Q49: In Java,when is an object marked for
Q50: What is a dummy head node?
Q51: Which of the following exceptions can be