X hits on this document

116 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 views116
Page views116
Page last viewedFri Dec 09 04:45:30 UTC 2016
Pages46
Paragraphs816
Words2901

Comments