|
CS 535 Object-Oriented Programming Fall Semester, 2003 Past Exam Questions |
|
|---|---|---|
|
© 2003, All Rights Reserved, SDSU & Roger Whitney San Diego State University -- This page last updated 23-Oct-03 |
Exam>>a
Transcript
show: 'Start a’;
cr.
self b.
Transcript
show: 'End a’;
cr.
Exam>>b
Transcript
show: 'Start b’;
cr.
self c: [^5].
Transcript
show: 'End b’;
cr.
Exam>>c: aBlock
Transcript
show: 'Start c’;
cr.
aBlock value.
Transcript
show: 'End c’;
cr.
Class A
Superclass Object
Methods
x
^’A’
|
Class B
Superclass A
Methods
x
^’B’
foo
^self x
bar
^super x
|
Class C
Superclass B
Methods
x
^’C’
|