The best practice is using fully qualified import names for import statements, use the wildcards only if you are importing a large number of classes inside a package.