Pete French writes:
I do want to know what this means. Can someone that writes a class, like
the Greeter example write his own Class methods or are Class methods
just inherited from the root class. Meaning you can only add instance
methods.
You can add your own class or instance methods as you like. As long as you
bear in mind that yopu are adding them to a completely different object to the
instance methods.
What is your view on a class (remember I am a VERY newbie). How can you
send a message to a class when a class is not an object.
A class *is* an object - whos primary purpose is to create other objects.
trying to make a distinction between the written description and the
compiled version (which you seem to be trying to do) is only going
to confuse things.
you cannot say if doBar is an instance method or a class method, (it's
none, it is a message!), or if foo refers a class or an object (a
class IS an object so it does not matter).