Re: Understanding class access



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
.