X hits on this document

148 views

0 shares

0 downloads

0 comments

5 / 46

© S. Uchitel, 2004

5

Objects: Identity

An object has a unique Identity.

These circles are not the same object, even if they are identical!!!

You can think of an object’s identity as its position in memory

Two objects are the same one only if they are in the same position in memory

area()

perimeter()

colour= “red”

diameter = 4

area()

perimeter()

colour= “red”

diameter = 4

Document info
Document views148
Page views148
Page last viewedFri Jan 20 06:10:22 UTC 2017
Pages46
Paragraphs816
Words2901

Comments