Solved

If a Linked List Is Empty,the Statement Head

Question 46

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:

verifed

Verified

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

Related Questions