0

java class files are not loaded into memory till the time they are referenced. If this is true, then the use of import statement is just to save a bit of typing. Is it the case ?

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by JamesCherrill
0

Yes, import does nothing that you can't do by always using the fully qualified names for all the classes you use. This saves a LOT of typing

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.