classpath help
Consider the following directory structure:
dir1
|
dir2
|
xcom
|--A.class
|--B.java
two files :
package xcom;
public class A{}
package xcom;
public class B extends A{}
the answer given here(Kathy) is
javac -cp . xcom/B.java when we are indir2 directory.
My question is:
how will javac find A.class since its not there indir2?

