Stoop questions

540 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
540
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
2
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())

×