Stacks Stacks are incredibly useful data structures. An equivalent in real life. 

Plates are added to the top of the stack and removed from the top—exactly like a stack in data structures.

Sample Code

Main functions: