IBM Interview Question

How do you implement a stack data structure in Java?