☑Kizspy.me
(Choose 1 answer)
☐ A
Back
Next
Suppose we are considering a doubly linked list which has at least 2 nodes.
Select the most correct java code snippet
that deletes the last node. (prev is a link to a predecessor node)
A. Node f tail.prev;
f.next = null;
B. Node f tail.prev;
f.next = null;
tail = f;
C. Node ftail.prev;
f.next = tail;
tail = f;
D. Node f tail.prev;
f.next tail.next;
tail = f.next;
FUO.sh
sh the
exam.