Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeConcepts
Stack

Stack

A memory region containing the local variables and parameters of currently executing functions.

Related concepts:  CallReturnFunctionMethod

Closest Wikipedia entry:  Call stack

Misconceptions about Stack
9 documented Misconceptions

Any LanguageJavaJavaScriptPythonScratch
Check Yourself
Misconception
CallWithoutFrame
A method invocation does not necessarily allocate a stack frame
Misconception
CallerFrameContainsCalleeFormal
Stack frame of caller includes variables for callee's formal parameters
Misconception
FrameIsClassInstance
A stack frame is the same as an instance of a class
Misconception
NoLocalVariables
There are no local variables
Misconception
RecursiveActivationsShareFrame
Recursive calls of a method share a stack frame
Misconception
ReferenceIntoStack
References can point into the stack
Misconception
ReturnUnwindsMultipleFrames
A return statement can unwind multiple call stack frames
Misconception
StackTraceIsCallHistory
A stack trace is the sequence of previously called methods

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors