In this video I use a code example to show the difference between value types and reference types. I show how all arguments in Java are passed by value, and I use diagrams of the stack and heap to visualize what is going on in the memory as the program executes