title: How to use a class from a parent directory in Java?
body: <p>For example, I have a class called <code>Foo</code> inside <code>Foo.java</code> which will use a class called <code>Bar</code> inside <code>../Bar.java</code>. Is there any way to make that work when I do <code>javac Foo.java</code>?</p>