title: Compiling From Command Line Wth Circular Dependencies
body: <p>Imagine that I have two classes (shown below). Now imagine that I am compiling them using javac.exe from the command line.  They won't compile because class A needs class B's methods to exist and vice versa.  Is there any trick to getting them to compile from the command line?  (Eclipse can compile this no problems!)</p>
  
  <p>I should add they are both currently in two separate .java files.</p>
  
  <pre><code>public class A {
      public void doAWork() { /* A work goes here. */}
      public void doBWork() { new B().doBWork(); }
  }
  public class B {
      public void doBWork() { /* B work goes here. */}
      public void doAWork() { new A().doAWork(); }
  }
  </code></pre>