Download presentation
Presentation is loading. Please wait.
1
CSE 115 September 12, 2008
2
Announcements Exam 1 is today
When is Exam 2 – check out schedule on website… Lab 2 all pieces to be turned in by end of day today (Friday) Lab 3 posted for next week
3
Lesson Plan Exam 1 References and Variables
4
References We sometimes need a way to refer to the objects we create
We need to store a reference to the object When we evaluate new Object(), the value that is produced is actually a reference to the object that was created. If we can find a way to hold onto that reference, we can refer to the object that was created.
5
Variables Variables are named storage
There are two parts to creating a variable … We need to give the variable a name We should give the variable name that makes sense in the context of the program
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.