some questions

4
S.Ducasse 1 QuickTime™ TIFF (Uncompr are needed t Stéphane Ducasse [email protected] http://www.listic.univ-savoie.f r/~ducasse/ Some Questions

Upload: barry-colon

Post on 31-Dec-2015

23 views

Category:

Documents


0 download

DESCRIPTION

Some Questions. Question. Counter class>>new | inst | inst := super new. inst initialize. ^ inst What is the class of inst? Why?. Question (II). Counter>>m ^ self class == super class What is the result of Counter new m. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Some Questions

S.Ducasse 1

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.

Stéphane [email protected]://www.listic.univ-savoie.fr/~ducasse/

Some Questions

Page 2: Some Questions

S.Ducasse 2

License: CC-Attribution-ShareAlike 2.0http://creativecommons.org/licenses/by-sa/2.0/

Page 3: Some Questions

S.Ducasse 3

Question

Counter class>>new

| inst |inst := super new.inst initialize.^ inst

What is the class of inst?Why?

Page 4: Some Questions

S.Ducasse 4

Counter>>m ^ self class == super class

What is the result of Counter new m

Question (II)