488,095 views
0 votes
0 votes
Recall that within the LinkedCollection the numElements variable holds the number of elements currently in the collection, and the head variable of type LLNode holds a reference to the beginning of the underlying linked list. The LLNode class provides setters and getters for its info and link attributes. Complete the implementation of the add method:

public boolean remove (T target)
// Removes an element e from this collection such that e.equals (target)
// and returns true; if no such element exists, returns false.
find(target);
if (found)
// complete the method body
return found;

User Tutuchan
by
2.7k points

1 Answer

16 votes
16 votes

yeah its totally rghe 5fith ob dStep-by-step explanation:

User Shantrese
by
3.1k points