[1110] in java-interest

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

Re: mutually dependent public classes

daemon@ATHENA.MIT.EDU (Jeff White)
Fri Aug 18 23:00:54 1995

From: Jeff White <jsw@cs.brown.edu>
Date: Fri, 18 Aug 1995 19:56:07 -0400
To: java-interest@java.sun.com
Reply-To: jsw@cs.brown.edu


I don't think this issue has been completely cleared.  Once again, the
problem is what if two classes both need to know about each other.
For example consider two public classes A and B.  Neither file can be
compiled because the other .class file doesnt' exist yet.  

Someone suggested using interfaces.  Is this the only solution? 

thanks,
jeff

 --------------------------------------------------------------------
| Jeff White jsw@cs.brown.edu http://www.cs.brown.edu/people/jsw/    |
| "So you run and you run to catch up with the sun but it's sinking  |
| Racing around to come up behind you again" - pink floyd            |
 --------------------------------------------------------------------
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

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