I&C SCI 32 Lecture 6: 6.2 Notes

55 views1 pages
- X is not really a variable that stores an integer
oX is the “Reference”
oLocation in memory of where the object is
- What happens if x+=1
oWill the original integer stay or another object be created (did the ID change?) (YES)
- Integers are immutable
- Lists are mutable
- Memory is reused
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 1 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions