# Queues and Stacks

Take items in the order they were added, or in the reverse order, instead of by position.

![Cheat sheet: Queues and Stacks](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/7b42a7f6a7d14f0296a3a5b9120ecc68.webp)

- Category: Java
- Level: Journeyman
- Tags: java
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/types-of-collections-queues-cheat-sheet
