The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: "Diez B. Roggisch" <de...@nospam.web.de>
Date: Tue, 25 Apr 2006 12:45:04 +0200
Local: Tues, Apr 25 2006 6:45 am
Subject: Re: OOP / language design question
cctv.s...@gmail.com wrote: I have another question for you: why does JAVA enforce that a constructor of > I was wondering, why you always have to remember to call bases' > constructors explicitly from the derived class constructor? Why hasn't > this been enforced by the language? a base-class must be called prior to everything else in the derived class's constructor? No way to do some computing for parameters that I want to pass to the parent constructor... Besides, this automatically base-constructor-calling only happens for the Regards, Diez You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||