Solved

Which of the Following Statements Deletes the First Node of a Linear

Question 18

Multiple Choice

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;

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents