[3550] in java-interest

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

Re: protected is not?

daemon@ATHENA.MIT.EDU (David Geary)
Wed Nov 15 22:32:14 1995

Date: Wed, 15 Nov 1995 17:34:50 -0700
From: David.Geary@Central.Sun.COM (David Geary)
To: java-interest@java.Eng.Sun.COM, rajesht@boxer.com

> Having more than one class defined in a single 
> package/compilation unit/module/....... makes them to be "friends"(C++)
> automatically.

  Surely this is incorrect; in C++ friends have access to your privates,
while this is not true in Java, neh?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 David Geary                  "As the decibels of this disenchanting discourse
 geary@rmtc.Central.Sun.COM    continue to dampen the day" 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
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