One of hundreds of answers available with our premium content service.
A: Sometimes you will find that trial and error will give you the answer you need. If you are using the Sun compiler, javac, the compiler will compile any other classes that your target class depends on, provided the other source files are in the same directory hierarchy as the first and the sub-directory names reflect the package hierarchy of the classes.
… full answer hidden
Premium members click below for full answer
Which class should be compiled first?