pedrosolorzano
Programmer
Hi all:
assuming that the directory (or jar) where the X class is located is already in the CLASSPATH,
X.java:
public class X{
}
Y.java:
package ypkg;
import X;
public class Y{}
Is there any way that Y imports the X class without receive the:
Y.java:3: '.' expected
import X;
error, without making X belongs to a package or Y not belongs to a package?
Thanks in advance for any answer. I'm desperate.
assuming that the directory (or jar) where the X class is located is already in the CLASSPATH,
X.java:
public class X{
}
Y.java:
package ypkg;
import X;
public class Y{}
Is there any way that Y imports the X class without receive the:
Y.java:3: '.' expected
import X;
error, without making X belongs to a package or Y not belongs to a package?
Thanks in advance for any answer. I'm desperate.