- About Us
- Recent posts
Informa's "Stack & Heap Diagram" problem type asks the student to draw a form of object diagram that also includes the call stack. Each stack frame or object needs to contain all its variables (local variables and parameters for stack frames, instance variables for objects). Each variable is annotated with its name and type, and contains its value. For reference variables the variable's value corresponds to an arrow that visually points to an object.