aspose file tools*
The moose likes Beginning Java and the fly likes How does 'import' work in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How does Watch "How does New topic
Author

How does 'import' work in java

madhup narain
Ranch Hand

Joined: Dec 14, 2004
Posts: 148
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


Money for nothing and Java for Free
SCJP, SCWCD
Georgy Bolyuba
Ranch Hand

Joined: Feb 18, 2005
Posts: 162
You can read it here.

Import does not influence on .class file.
[ September 06, 2005: Message edited by: George Bolyuba ]

SCJP 1.4 (100%) Done.<br />SCJD (URLyBird 1.2.3 Started)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How does 'import' work in java