Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
constructor from diffrent class
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Roedy Green, post: 2991011"] Please post real code. This is too far from real code. Please have a look at [URL]http://mindprod.com/jgloss/codingconventions.html[/URL] What I think your question might be is this: I have a circular reference: class F { Stack s; .... } class Stack{ F f ; .... } If I compile F first javac can't find Stack. If I compile Stack first, it can't find F. I'm hosed. What do I do? The answer is at [URL]http://mindprod.com/jgloss/javacexe.html#CIRCULAR[/URL] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
constructor from diffrent class
Top