Hello,
this question comes from JQPlus:
Consider the following two
java files in /home/user directory:
//file A.java
package com.enthu;
class A
{
}
//file B.java
package com.foo;
class B
{
}
The files are compiled using the following command line:
javac -d /home *.java
Where will the class files go?
The answer they give is:
"A.class in /home/com/enthu and B.class in /home/com/foo"
but I don't see why the A.java and B.java files are supposed to be visible to the compiler as the path is set to /home and not /home/user ?
Thanks,
Justyna Wozniak