X hits on this document

138 views

0 shares

0 downloads

0 comments

10 / 46

© S. Uchitel, 2004

10

Objects and Classes: Example 3

In real life, Alessandra Russo lecturer at Imperial College, is unique

In an OO program there could be many different objects modelling the same Alessandra Russo.

<<instanceOf>>

Lecturer

name:String

login:String

setLogin(String):void

getLogin():String

:Lecturer

name = “Alessandra”

login= “ar3”

setLogin(String):void

getLogin():String

Lecturer(name String, login String)

Document info
Document views138
Page views138
Page last viewedWed Jan 18 02:12:47 UTC 2017
Pages46
Paragraphs816
Words2901

Comments