wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Give me Example for Friendly access Modifier.? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Give me Example for Friendly access Modifier.?" Watch "Give me Example for Friendly access Modifier.?" New topic
Author

Give me Example for Friendly access Modifier.?

suneel kanth
Greenhorn

Joined: Feb 06, 2003
Posts: 22
Hi all
Can any one give a example and explain about the Friendly access modifier? Thank you.


Any sufficiently advanced bug is indistinguishable from a feature.
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2850
    
  11

Java doesn't have friend classes in the sense that C++ does, but you might be talking about what sometimes is called "package private" access.

Got it? For the record, I very rarely find use for package private access.
[ February 24, 2003: Message edited by: Greg Charles ]
suneel kanth
Greenhorn

Joined: Feb 06, 2003
Posts: 22
Thank you Greg Charles.Iam very thankfull to you regarding your help...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Give me Example for Friendly access Modifier.?