Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How does 'import' work in java

 
madhup narain
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
just as a matter of curiosity i want to ask how the 'import' statement works in java

what happens in the .class file when there is a statement like 'import java.awt.*' in the source file.

Regards
 
Georgy Bolyuba
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can read it here.

Import does not influence on .class file.
[ September 06, 2005: Message edited by: George Bolyuba ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic