title: javac : Compiling a .java file which uses other classes in it
body: <p>HI i have 3 java files</p>
  
  <pre><code>a.java  
  b.java  
  c.java  
  </code></pre>
  
  <p>I managed to generate .class files for both a and b using</p>
  
  <pre><code>javac example/a.java  
  javac example/b.java  
  </code></pre>
  
  <p>but when i do the same for c.java I get the error
  error: cannot find symbol b and c</p>
  
  <p>Any suggestions on how i could solve this problem ? </p>
  
  <p>All the java files are in the same folder</p>