40 likes | 145 Views
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.
E N D
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