Oracle Interview Question

Write a program to implement stack?