I want to import all the classes in a package at once, not one by one.
I tried import pckName.*;
but it's not working.
Example: I have class X in package name pack1.
package pack1;
public class X {
.
.
}
and I have class Y in the same package.
package pack1;
public class Y {
.
.
}
I don't want to have to import them like this:
import pack1.X;
import pack1.Y;
Why? Because my package (har!) has a lot of classes and it's annoying to add them one by one. Is there a way to import them all at once?