What is the best way to import multiple classes from the same package. The easiest is to import the entire package, although classes that are not needed can be imported here.
import mipaquete.foo.*
The other way is longer but it would only matter what you need:
import mipaquete.foo.Clase1
import mipaquete.foo.Clase2
// Otras clases importadas aquí.
import mipaquete.foo.Clase5
Does it affect performance when the entire package is imported with classes that are not used?