Class StackExample
java.lang.Object
topics.introduction.examples.StackExample
Demonstrates the legacy
Stack class (LIFO) with
push and pop operations.
Note: In modern Java, ArrayDeque is preferred over
Stack for stack semantics.- Author:
- vicegd
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StackExample
public StackExample()
-
-
Method Details
-
main
-