Based on what the OP wrote :
I compiled this code successfully but after referring this code to other package getting error that package does not exist.Please help me what to do??
here is code in which import statement does not supporting
I am under an impression that the code can compile, but cannot find the package during execution. Correct me if I am wrong.
To compile it, use this under c:\myProject\:
javac -cp certification university\AnnualExam.java