I lost the
thread where this discussion was going on, but meanwhile left
without any final conclusion.
javac finds the needed source file and complies them as well with the main
source file.
I disagreed with that.
"javac -cp only finds class files. If the needed class file does not exist,
it gives compiler error."
What I know:
"Suppose Source A.java is using B's (public class) instance and methods so when you complile A.java, B.class must be present in order to compile A.java." Is that right? Yes(OK)/No(Why?)
Thanks,
cmbhatt