If I call the method dequeue()
by saying myQueue.dequeue();
what will happen?
With mentioning that this is how I initialized myQueue.
QueueInterface<String> myQueue = new LinkedQueue<String>();
If I call the method dequeue()
by saying myQueue.dequeue();
what will happen?
With mentioning that this is how I initialized myQueue.
QueueInterface<String> myQueue = new LinkedQueue<String>();