X hits on this document

88 views

0 shares

0 downloads

0 comments

8 / 46

© S. Uchitel, 2004

8

Objects and Classes: Example 1

<<instanceOf>>

Car

colour:String

model:String

fuelCapacity:int

start():void

stop():void

move(direction:String):void

emilsCar:Car

colour= blue

model= Fiesta

fuelCapacity=45

Field

definitions

Field values

start():void

stop():void

move(direction:String):void

Car(colour: String, model: String, fuelCapacity:int)

Document info
Document views88
Page views88
Page last viewedFri Oct 28 17:52:53 UTC 2016
Pages46
Paragraphs816
Words2901

Comments