• Post Reply Bookmark Topic Watch Topic
  • New Topic

Import Statement...?  RSS feed

 
Prashant Neginahal
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
import packagename.*; It is a compile time activity or runtime activity.?
Is it going to affect performance as it seems to be bring all classes...?
Pls anyone explain me.
----------------
Prashant
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Compile time only, it has no effect on runtime behaviour.
There may be the small difference in the time it takes to compile if all import statements have stars, but I'm not sure about the exact behaviour.
Dave
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!