Re: package private problem
- From: "John Esquel" <john_esquel@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Sep 2006 12:29:51 +0200
If the class is 'protected' and your other classes
'extend' it, they can access the relevant attributes.
(Not entirely sure if that solution fits this problem, but
thought I'd throw the idea into the mix)
Thanks but it does not fit the problem at all.
And moreover class in java *cannot* be defined as protected
- only its fileds d can be.
only public, abstract & final are permitted
.
- Follow-Ups:
- Re: package private problem
- From: Andrew Thompson
- Re: package private problem
- References:
- package private problem
- From: John Esquel
- Re: package private problem
- From: Andrew Thompson
- package private problem
- Prev by Date: Re: package private problem
- Next by Date: Re: Array of String/StringBuffers Initalisation
- Previous by thread: Re: package private problem
- Next by thread: Re: package private problem
- Index(es):