This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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