wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Import statement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Import statement" Watch "Import statement" New topic

Import statement

Paul Barnes

Joined: Oct 11, 2001
Posts: 4
Does the use of the import statement affect run-time processing at all? For instance, does a class with 50 import statements perform more slowly than a class with 5 import statements, assuming that all other aspects of the classes are the same?
If there is a difference in performance, can you please explain the reason?
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Here is your answer .
Paul Barnes

Joined: Oct 11, 2001
Posts: 4
It is sorta covered in the JavaRanch Style Guide.
subject: Import statement
Similar Threads
Package statement and Import statement
Importing classes
HTTP method POST is not supported by this url
efficiency of import statements
First valid statement in a java class