Could someone throw some light on what happens when you write additional import statements besides those that are being used in a java program ?
Does it slows down stuff or something ?
Stephan van Hulst
posted 5 years ago
No. Import statements are just an indication for the compiler where to look for classes necessary during compilation. After all classes have been found and the program has been compiled, the imports are just discarded.
Welcome to CodeRanch!
The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.