12
Example: Abstract Stack Data Object
(cont)
Example of use:
Stack
Operation
Return value
?
create
-
-
push a
-
a
push b
-
a b
push c
-
a b c
pop
c
a b
isempty
false