Online College Courses for Credit

Stacks: Loops and Violations (Java)

Stacks: Loops and Violations (Java)

Author: Nathan Schutz
See More
Fast, Free College Credit

Developing Effective Teams

Let's Ride
*No strings attached. This college course is 100% free and is worth 1 semester credit.

29 Sophia partners guarantee credit transfer.

312 Institutions have accepted or given pre-approval for credit transfer.

* The American Council on Education's College Credit Recommendation Service (ACE Credit®) has evaluated and recommended college credit for 27 of Sophia’s online courses. Many different colleges and universities consider ACE CREDIT recommendations in determining the applicability to their course and degree programs.


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.