February 2014
Beginner
1248 pages
62h 25m
English
• Class Stack (p. 708) extends Vector. Stack method push (p. 709) adds its argument to the top of the stack. Method pop (p. 710) removes the top element of the stack. Method peek returns a reference to the top element without removing it. Stack method isEmpty (p. 710) determines whether the stack is empty.
Read now
Unlock full access