Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

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.