Solved

To Remove a Node with Index 0 from a Linked

Question 6

Multiple Choice

To remove a node with index 0 from a linked list,


A) just move the head reference one node forward
B) set the head reference to null
C) set a reference r to the head of the list,and then set r to null
D) throw an exception,because no list has a node with index 0

Correct Answer:

verifed

Verified

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

Related Questions