Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!nntp.club.cc.cmu.edu!hudson.lm.com!news.pop.psu.edu!news.cac.psu.edu!howland.reston.ans.net!pipex!uunet!news2.new-york.net!news
From: monte@mordor.com (monte)
Subject: Confused about Object and Behavior classes
Nntp-Posting-Host: ritz.mordor.com
X-Authenticated: monte on POP host ritz.mordor.com
Sender: monte@ritz.mordor.com
Organization: Misconfigured client newsreader
Date: Tue, 3 Jan 1995 01:47:14 GMT
X-Posted-From: InterNews 1.0.5@192.0.2.1
Message-ID: <D1t3Mr.LHu@news2.new-york.net>
Lines: 19

Hello,

I am learning SmalltalkV on the Mac. While going through the tutorial,
I came across the following, which is confusing the heck out of me.

collection := Object allClasses. (page 6-7 in Tutorial)

allClasses is a method found in the class Behavior. And Behavior is a
subclass of the class Object, the root of the standard class library.

How is it that "Object" can receive a message that triggers a method in
a subclass, "Behavior." 

I am missing a concept here.

Thanks for knocking sense into me :)


Jaime Montemayor (monte@mordor.com)
