At 11:36 AM 6/25/2002 +0600, Senaka Suriyaarachchi wrote: >Hi >Does having imports such as "import java.util.*" as opposed to "import >java.util.Vector" (when only the Vector class is used in the program) affect >the performance of a stand alone program?
Absolutely no effect. Java source code should compile into exactly the same bytecode whether there's one import or 10,000 imports at the beginning. Imports are resolved by the compiler. (Compilation might run a bit more slowly, but you'll practically never notice it unless you're compiling a million classes at once.) _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing
