It compiles fine for me :roll:
My directory structure is as follows:
In c:\test, I have the directory p1 with all three classes in it. Then I go up one level to c:\test and type the command:
javac -classpath . p1\*.java
and everything compiles and runs fine...
By executing
java -classpath . p1.AAA
I get the output:
HI AAA