SYSTEM DEEP DIVE · JAVA · 01
Memory & references
READY
STACK · main()
HEAP
x · int
5
y · int
5
d · Dog
0x1F4A
d2 · Dog
0x1F4A
Dog object at
0x1F4A
name =
"Rex"
FIG. 1.0
· The whole program is above; the highlighted line is the one about to run. The figure updates with every executed line.
Run line 1
or press Enter ⏎