I was about to post this, when I saw you had got an answer. You can have it anyway
**************************************************************************
I presume your two classes are in different files, or they won't compile.
Search this forum for how to compile a class with a package declaration; there are several ways to do it. If you find my first post in
this thread, for example, you get links to how to do it.
You will have to compile the classes with a wildcard (*.java), or compile the class with the package declaration first.