Write out the order of elements that are contained in a queue after the following operations are performed.
What will be an ideal response?
```
myQueue.enqueue(new Integer(8));
myQueue.enqueue(new Integer(6));
Integer num1 = myQueue.dequeue();
myQueue.enqueue(new Integer(3));
myQueue.enqueue(new Integer(4));
myQueue.enqueue(new Integer(15));
myQueue.enqueue(new Integer(12));
myQueue.enqueue(new Integer(9));
myQueue.dequeue();
myQueue.dequeue();
myQueue.dequeue();
myQueue.enqueue(new Integer(19));
```
The resulting queue from front to back is 15,12,9,19.
You might also like to view...
Gridlines can be customized by using the Format ________ Gridlines task pane
Fill in the blank(s) with correct word
When you make changes to a base style, ________
A) the base style and any styles based on it will all be updated B) only the base style will be updated C) you will be asked to choose whether or not you want styles based on it updated also D) a new style will be created with the change, but the base style itself will not change