What exactly does it mean when a package is declared at the top of a java file.
Is it simply a "grouping" of .java files?
Does it mean that the file should be contained in a directory with the same name?
For instance, if in the code the line: package test; is declared, should the existing package be in a directory called c:\test.
What if it is in a directory called c:\dir1\test? Should the declaration then be package dir1.test?