Oracle interview question

Write a program to implement stack?