Stack in Java

by javadream on 05 Nov 10
0
 
339 downloads
0

Stack is a LIFO (Last In First Out) type data structure. The last item to enter stack always comes out of the stack first. This data structure is very useful in implementing many algorithms.

Here is an implementation of stack using Java. It stores integer type data so it's a very simple implementation. Good as a tutorial for data structures 101.

Bookmark and Share

You must login or register to post comments