Pregunta de entrevista de Autodesk

How is stack implemented by Java?