Consider the method splice that Exercise describes. Implement this method specifically for the class LinkedQueue. Take advantage of your ability to manipulate the chain that represents the queue.
Exercise
Suppose that we want to add a method to a class of queues that will splice two queues together. This method adds to the end of a queue all items that are in a second queue. The header of the method could be as follows:
public void splice(QueueInterfaceanotherQueue)
Write this method in such a way that it will work in any class that implements QueueInterface
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.