Nexstar Digital interview question

Write an implementation of a stack data structure in Java.