GE HealthCare interview question

Implement a stack (using java in a whiteboard)