what is the difference between import package.* and import package.class in java? Performance wise? I know the basic difference , like using "*" imports all the classes and using the "package.class" only a particular class in the package. I want more in detail.
Here is the [url=http://"http://faq.javaranch.com/view?WildCardVsSpecificImports"]JavaRanch FAQ entry on this topic.[/url] This question is asked very often.
Short answer: performance-wise, there's no detectable difference whatsoever, either at runtime or compile time. Which you use is a matter of taste; most experienced practitioners recommend the individual class imports.