If a linked list is empty, the statement head.getNext() will throw a(n) ______.

a) IllegalAccessException
b) ArithmeticException
c) IndexOutOfBoundsException
d) NullPointerException

d.

Computer Science & Information Technology

You might also like to view...

The original Windows desktop is ________ in Windows 8

A) removed B) accessible C) redesigned D) not accessible

Computer Science & Information Technology

________ are text notes that are attached to a slide in a presentation

Fill in the blank(s) with correct word

Computer Science & Information Technology