By default, the access control is like a FRIEND. But this time friend mean, accessible to the whole package.
PROTECTED is accessible to the derived classes as well as to the package, so less restricted than FRIEND.
 
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Javier Tome Vecchione
Sent: Friday, August 20, 1999 12:55 AM
To: [EMAIL PROTECTED]
Subject: Maybe this is not a servlet question, but I need to know...

In Visual Basic you have the FRIEND access modifiers for objects definitions. I found in Java the PROTECTED, it´s the same or there exists the FRIEND access modifier????
 
Thank you!!!
 
Javier Tomé

Reply via email to