Some Questions
S.Ducasse 2
The true behing new...
Box class>>new
| instance |
instance := super new.
instance initialize.
^ instance
Box ...
S.Ducasse 3
bindings...
aBox borderWidth: 5
borderWidth: width
self border: width
S.Ducasse 4
Fun with super
A>>foo
^ self class == super class
foo()
this.class().getName().equals(super.class().getName())
Upcoming SlideShare
Loading in...5
×

Stoop questions

319

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
319
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Stoop questions

  1. 1. Some Questions
  2. 2. S.Ducasse 2 The true behing new... Box class>>new | instance | instance := super new. instance initialize. ^ instance Box new
  3. 3. S.Ducasse 3 bindings... aBox borderWidth: 5 borderWidth: width self border: width
  4. 4. S.Ducasse 4 Fun with super A>>foo ^ self class == super class foo() this.class().getName().equals(super.class().getName())
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×