This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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: 2931
    
  12

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...
 
Have you checked out Aspose?
 
subject: Give me Example for Friendly access Modifier.?
 
It's not a secret anymore!