[3509] in java-interest

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

Re: protected is not?

daemon@ATHENA.MIT.EDU (satoh-HAL-osamu)
Wed Nov 15 00:10:18 1995

From: satoo@pfu.fujitsu.co.jp (satoh-HAL-osamu)
To: java-interest@webrunner.neato.org
In-Reply-To: Your message of "Tue, 14 Nov 1995 13:04:03 EST."
             <9511141804.AA04066@cocolat.East.Sun.COM> 
Date: Wed, 15 Nov 1995 11:46:28 +0900

> "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

In "The Java Language Environment: White Paper", I can find:

	protected means that instance variable and methods
	so designated are accessible only to subclasses
	of that class, and nowhere else.

BUT, result of tests I did tell me that Ken is right.
Does the white paper miss?

SATOH Osamu
satoo@pfu.fujitsu.co.jp




-
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