I have an interface & its implementation class in the same package. I using javac in commandline to compile them. I am able to compile the interface class successfully, but when try to compile the implementation class after compiling the interface class, I get the error - Symbol not found. However, as both the interface & its implementation are in the same folder, if I do a Javac *. I am able to compile both of them .
Can someone help me understand this behaviour ? Thanks for your time