Concept
Where the JVM keeps local variables and where it keeps objects, and what a reference really is.
The tutor works through these with you, in conversation and code. A session ends when you have shown them, not when a video does.
A few lines that show Heap and stack doing its job.
void example() {
int count = 3; // primitive, lives in this frame
var sb = new StringBuilder("hi"); // object on the heap; sb is a reference
var alias = sb; // second reference, same object
alias.append("!");
System.out.println(sb); // hi!
} // the frame goes; the object stays until unreachableThinking a variable of an object type "contains" the object. It holds a reference, so passing it to a method or assigning it lets that code change the same object.
Your roadmap puts these before Heap and stack, unless you already know them.
Once a session shows you understand Heap and stack, it comes back for review. Each review takes a minute and tells the memory model how well you still know it.
Topics that build on Heap and stack.