Re: [PHP4BETA] calling member in parent class
| From: | Peter Kovacs | Date: | Mon, 07 Feb 2000 19:24:33 +0000 |
| Subject: | Re: [PHP4BETA] calling member in parent class | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9919@lists.php.net to get a copy of this message | ||
On Mon, 7 Feb 2000, Andrei Zmievski wrote:
> Tell me then, why does Java have keyword 'super'? I mean, they could
> also just rename the Parent classes whenever appropriate.
AFAIK (and I might be wrong here, as I don't have a reference with me)
java does *NOT* have a super keyword. You can only use the function call
"super()" in exactly *ONE* place, that is the first call of a constructor.
I'd hardly call that a keyword.
I'm with Zeev on this one. Why bother adding another keyword to the
language when it can be dealt with just as clearly in a simpler fashion.
Peter
--------------------------------------------------
Peter D. Kovacs KnowPost.com LLC
Pb Engineer peter@knowpost.com
--------------------------------------------------