Stacks: Loops and Violations (Java)

Stacks: Loops and Violations (Java)

Author: Nathan Schutz
See More
Introduction to Psychology

Analyze this:
Our Intro to Psych Course is only $329.

Sophia college courses cost up to 80% less than traditional courses*. Start a free trial now.


A look at how to loop through stacks using the empty() method of the Stack class. The video also looks at how the Stack's superclass methods can violate the definition of a stack.