Which of the following statements deletes the first node of a linear linked list that has 10 nodes?

a) head.setNext(curr.getNext());
b) prev.setNext(curr.getNext());
c) head = head.getNext();
d) head = null;

c.

Computer Science & Information Technology

You might also like to view...

________ must be installed to view a presentation using the Package Presentation for CD feature

A) Microsoft PowerPoint B) Windows Media Player C) Microsoft Office Professional 2010 D) Microsoft Office PowerPoint Viewer

Computer Science & Information Technology

Which component of IPsec provides authentication, integrity, and nonrepudiation?

A. L2TP B. Encapsulating Security Payload C. Encryption Security Header D. Authentication Header

Computer Science & Information Technology