tutorial.eyehunts.com
Java stack class
Stack Class : It is child class of vector It is a specially designed class for last in first out order(LIFO) CONSTRUCTOR Stack s = new stack(); Operations: push(Object o) pop() offset peek() s.search(A) //3s.search(Z) ;//-1 Methods: Object push(Object obj):-For inserting an object to the stack. Object pop():-To removes and return top of the stack.… Read More »Java stack class
Rohit