java.util.Stack

This is a last-in-first-out, this uses {@link Vector} as a base and provides operations for pushing and popping. It is recommended to use {@link LinkedList} or {@link ArrayDeque} as they are newer classes.