Re: [General]acces of members of subclass
- From: Mark Space <markspace@xxxxxxxxxxxxxx>
- Date: Mon, 28 Jul 2008 10:37:57 -0700
Lew wrote:
Daniel Moyne wrote:
- Sub may have itw own typical constructor with its own parameters where of
course super(...) is not present.
'super()' is always present, if only implicitly. If you do not provide one, the compiler inserts a call to the no-argument 'super()' for you.
Er, lots of classes have no zero-argument constructor, so Daniel is correct. Any given sub-class, in the general case, cannot rely on the presence of a super() call.
.
- Follow-Ups:
- Re: acces of members of subclass
- From: Lew
- Re: acces of members of subclass
- References:
- [General]acces of members of subclass
- From: Daniel Moyne
- Re: [General]acces of members of subclass
- From: RedGrittyBrick
- Re: [General]acces of members of subclass
- From: Lew
- Re: [General]acces of members of subclass
- From: Daniel Moyne
- Re: [General]acces of members of subclass
- From: Lew
- Re: [General]acces of members of subclass
- From: Daniel Moyne
- Re: [General]acces of members of subclass
- From: Lew
- [General]acces of members of subclass
- Prev by Date: Trash appears in JSP page upon declaring error page
- Next by Date: Re: Trash appears in JSP page upon declaring error page
- Previous by thread: Re: [General]acces of members of subclass
- Next by thread: Re: acces of members of subclass
- Index(es):
Relevant Pages
|