Is there any hit on performance when we say something like
I mean is there any hit when we try to import many classes that may not be used in the program.
SCJP 1.5, SCWCD 1.5, SCBCD 1.5
posted 10 years ago
There should not be any runtime performance hit. The compiler should do the work for you of seeing what individual classes you're looking for and loading those into the bytecode. It should not load other classes for you that are in the global package.