Nexstar Digital Interview Question

Write an implementation of a stack data structure in Java.