Pops an element from the stack represented by this deque. In other words, removes and returns the first element of this deque.
This method is equivalent to removeFirst().
removeFirst()
Returns: the element at the front of this deque (which is the top of the stack represented by this deque)
Exceptions:
NoSuchElementException
Diagram: Collection Queue