hi ranch,
i have some doubt in
java.
1. suppose i write two classes in two different files in the same directory, how can i call one class from the other?
2. i tried the concept of package.
i created source file page.java in the current working directory. then i put another source file check.java in a directory called pro. Now pro is in the current directory.
in beginning of check.java i said package pro;
i compiled the file in pro.
i went to the home directory and in the file page.java i said import pro;
its showing compilation error. but this is how i read in books.
now how to do it in java?
try to answer.
jose.