Hello,
So I want to be brief and explain that I never knew what "call stack" was supposed to mean. I assumed some fancy, high-class programming jargon that would take years to learn. However, Java uses the call stack as merely a data structure that keeps readily accessible methods/classes for use by the IDE/JVM. The JVM or java virtual machine uses this stack for availability and convenience instead of using RAM memory for every function and var. Although string types have a memory address, objects will always be stored in the call stack.
CodeCademy provides a short, free course just on recursion algorithms. https://www.codecademy.com/courses/java-algorithms
Top comments (0)