Question: Removal Ti curr Tel /** Remove and return current element */ public E remove() { if (curr.next() == null) - if (head.next() ==null) return null;

Removal Ti curr Tel /** Remove and return current element */ public E remove() { if (curr.next() == null) - if (head.next() ==null) return null; // Nothing to remove 9 E it -- curr.next().element(); // Remember values if (tail -- curr.next()) tail - curr; // Removed last //using freelist 11 Link
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
