[3511] in java-interest

home help back first fref pref prev next nref lref last post

Re: protected is not?

daemon@ATHENA.MIT.EDU (Flint O'Brien)
Wed Nov 15 00:55:14 1995

Date: Tue, 14 Nov 1995 23:17:33 -0500
From: "Flint O'Brien" <flint@nando.net>
To: java-interest@webrunner.neato.org

I hope this is incorrect. If "protected" is the same as "friendly,"
why have it at all. ("Friendly" is the default which allows access
to all in the same package.)

>"protected" means that only extended class *and* other classes 
>within the same package can access the identifier.  Packages in the 
>same class are considered to be, well, "friendly".  This is one 
>reason it is important to package your classes correctly

flint@nando.net
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post