Autodesk Interview Question

How is stack implemented by Java?