Re: Understanding class access
- From: Lew <lew@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 May 2007 16:42:14 -0400
André Wagner wrote:
If you don't want MySubClass to be subclassed, declare it final --
that's what it's there for.
What I mean is: I don't want it to be accessed.
Move it to the same package and declare it package-private.
--
Lew
.
- References:
- Understanding class access
- From: André Wagner
- Re: Understanding class access
- From: angrybaldguy
- Re: Understanding class access
- From: André Wagner
- Understanding class access
- Prev by Date: Re: Need some help with sorting
- Next by Date: Re: Need some help with sorting
- Previous by thread: Re: Understanding class access
- Next by thread: J2SE and J2EE difference
- Index(es):