Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!news.sprintlink.net!pipex!uknet!festival!castle.ed.ac.uk!eanv20
From: eanv20@castle.ed.ac.uk (John Woods)
Subject: Re: difference between class and instance methods
References: <GDWIBED.43.0049BA08@uhc.com> <3k8lir$5c5@panix.com>
Message-ID: <D63qKr.7MI@festival.ed.ac.uk>
Sender: news@festival.ed.ac.uk (remote news read deamon)
Organization: Edinburgh University
Date: Mon, 27 Mar 1995 13:53:12 GMT
Lines: 22

pma@panix.com (Patrick Ma) writes:

>Thanks for everyone who responded.  I thought the method 'new' is implied. I mean 
>when I create a class (for example, Car), I don't have to write a class method 
>'new'.  I can just do something like:

>	dodge := Car new.

>Is this correct?

No and yes.  #new is not implied at all.  The implementation of #new
is inherited from Object, or Model, or whatever you subclassed Car
from.

... John


-- 
"
Forsan et haec olim meminisse iuvabit (Virgil)
[approx] Tr: The time may come when we will look back on these days and laugh
"
