Which of the following statements deletes the node that curr references?
A) prev.setNext(curr) ;
B) curr.setNext(prev) ;
C) curr.setNext(curr.getNext() ) ;
D) prev.setNext(curr.getNext() ) ;
Correct Answer:
Verified
Q9: Which of the following exceptions can be
Q10: To delete a node N from a
Q11: A reference variable declared as a data
Q12: If a linked list is empty,the statement
Q13: When you declare a variable that refers
Q15: In Java,every class is ultimately derived from
Q16: Which of the following will be true
Q17: According to the principle of information hiding,the
Q18: Which of the following statements deletes the
Q19: A reference variable whose sole purpose is
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents