Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS106A, Stanford University

Similar presentations


Presentation on theme: "CS106A, Stanford University"— Presentation transcript:

1 CS106A, Stanford University
References Chris Piech CS106A, Stanford University

2 Learning Goals Be able to write a large program
Be able to trace memory with references

3 Today, we build!

4 Milestones Milestone 1 Milestone 2 Milestone 3

5 Advanced memory model

6 Recall: Memory model private void run() { int money = 5; retireEarly(); println(money); } private void retireEarly(){ int money = ;

7 How do you share wikipedia articles?
Antelope Canyon Article Key:

8

9

10

11

12

13

14 Memory Heap Instance Variables www.memory.com/12 canvas memory.com/12
run r

15 Memory Heap Instance Variables www.memory.com/12 canvas memory.com/12
run r

16 Memory Heap Instance Variables 12 canvas 12 run 12 r

17

18

19

20 Memory Heap Instance Variables 12 canvas 94 mousePressed x = 72 94 e
time = e 12 obj

21 Finish Up

22 Learning Goals Be able to write a large program
Be able to trace memory with references


Download ppt "CS106A, Stanford University"

Similar presentations


Ads by Google