X hits on this document

132 views

0 shares

0 downloads

0 comments

9 / 46

© S. Uchitel, 2004

9

Objects and Classes: Example 2

<<instanceOf>>

Circle

colour:String

diameter:double

perimeter():void

area():double

<<instanceOf>>

cirlce1:Circle

colour = “red”

diameter = 4

perimeter():void

area():double

cirlce2:Circle

colour = “red”

diameter = 4

perimeter():void

area():double

Circle(colour String, diameter double)

Document info
Document views132
Page views132
Page last viewedMon Jan 16 22:54:52 UTC 2017
Pages46
Paragraphs816
Words2901

Comments