Re: private instance variable of derived class not always returned by base class getter?
- From: Lothar Kimmeringer <news200703@xxxxxxxxxxxxxx>
- Date: Sat, 31 Mar 2007 00:17:11 +0200
Piet wrote:
Each of the derived classes has a special
combination of private instance variables than can be accessed through
getters declared in the base class.
That's not possible. Private members can only be seen inside the
same class. The getters and setters of the base-class can only
access the private member of the base-class.
Regards, Lothar
--
Lothar Kimmeringer E-Mail: spamfang@xxxxxxxxxxxxxx
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)
Always remember: The answer is forty-two, there can only be wrong
questions!
.
- Follow-Ups:
- References:
- Prev by Date: private instance variable of derived class not always returned by base class getter?
- Next by Date: Re: Swing Text components
- Previous by thread: private instance variable of derived class not always returned by base class getter?
- Next by thread: Re: private instance variable of derived class not always returned by base class getter?
- Index(es):
Relevant Pages
|
|