Java doesn't have the "friend" concept. In Java you have the option of nested classes or private, file scope classes.
You can use either of them, from what I see you're trying to do.
Java doesn't have the "friend" concept. In Java you have the option of nested classes or private, file scope classes.
You can use either of them, from what I see you're trying to do.
Last edited by marcel; 21st June 2008 at 22:26.
Here's a nice thread that goes into the more "philosophical" aspects of this issue: http://forum.java.sun.com/thread.jsp...sageID=2358324
Bookmarks