I have two classes, Offering and Course. They are both in the same package and the same directory.
Offering.java:
package assignment02; public class
You can also compile using the "-classpath" argument, with its value set to the parent directory, like this:
javac -classpath .. Offering.java