Why can I not compile a single class that uses another class of the same package? I thought that all classes of a package were automatically imported.
I have a package foo. The directory is named foo. I have two classes: Foobar and Footwo. Footwo uses Foobar. If I'm in the directory foo and do javac Footwo.java, I get errors that it cannot find symbol Foobar. It works if I do javac *.java.
