Hi,
I wonder how can i compile two or more source files located in different packages while these source files one or more method on each other?
For instance. A.java in package pa has a method called amethod(). B.java in package pb has a method called bmethod(). A.java uses bmethod() and B.java uses amethod(). While these two
java files are in the same package, they are compiled perfectly and runs fine. When i put them in different packages as described above, i cannot compile them. How can i compile these two files correctly?
Thanks.
SoonAnn Lim