I want to import all classes into a package at once, and not one by one. I tried import pckName.*; but it does not work.
Example: I have class X in the package name pack1.
package pack1; public class X { . . }
and I have class Y in the same package.
package pack1; public class Y { . . }
I do not want to import them as follows:
import pack1.X; import pack1.Y;
Why? Because my package (har!) Has many classes, and it is annoying to add them one at a time. Is there a way to import them right away?
asaf regev
source share