Microsoft SDK for Java

List.popItem

Retrieves and removes the topmost item in the stack.

Syntax

public Object popItem()

Return Value

Returns the last item in the list.

Exceptions

EmptyStackException thrown if there are no items in the stack.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.