The question given here is for javac or for
java. because javac -cp will search in current directory by default so it will find A.class in xcom
package , only in java -cp we need to give "." to search in the current directory. Here is the question from K & B book:
The Correct answer is 3.
Thanks
Srividhya
[ April 09, 2008: Message edited by: Srividhya Kiran ]