Originally posted by Ernest Friedman-Hill:
...I can't explain why it works for marc. Maybe on reflection he can figure out what's going on there himself.
Okay, I've reproduced Stephen's error messages (by doing it the... uh, right way).
But now I need to understand
why it worked the way I did it. Let's say (hypothetically) that I were to cheat, and put all 3 class/interface definitions the same source file (with only one of them public). Then is it accurate to say that no classpath would be needed
because everything is in the source file that's specified on the command line? I really thought the compiler would choke on this, because it would be unable to find the actual
class file -- even if the definition for that class was in the same source file.