A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How does 'import' work in java
Joined: Dec 14, 2004
Sep 06, 2005 00:15:00
just as a matter of curiosity i want to ask how the 'import' statement works in
what happens in the .class file when there is a statement like 'import java.awt.*' in the source file.
Money for nothing and Java for Free
Joined: Feb 18, 2005
Sep 06, 2005 00:30:00
You can read it
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)
It is sorta covered in the
JavaRanch Style Guide
subject: How does 'import' work in java
specifying character set when compiling
calling java files from jsp page
Classpaths with packages
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013