About

A stack implements a LIFO methodology.

The last element added is the first element retrieved (“last-in, first-out”).