X hits on this document

95 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 views95
Page views95
Page last viewedSat Dec 03 20:58:00 UTC 2016
Pages46
Paragraphs816
Words2901

Comments