Skip to content

Glossary: Data Structures and Algorithms in Java

StackOverflowError

Also written: stack overflow

The error Java throws when the call stack gets too tall, caused by recursion with no base case or by very deep recursion.

Where the book teaches it

Related terms

call stackbase case