Look at the ArrayDeque class. It has methods for removing elements from either end of the queue.
Type: Posts; User: Norm
Look at the ArrayDeque class. It has methods for removing elements from either end of the queue.
Can you push the records onto a stack and remove them in reverse order?
Please edit your post and wrap your code with code tags:
**YOUR CODE GOES HERE**
to get highlighting and...