BlackBerry Interview Question

How to implement stack using an array