Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
2nd import statement is redundant. import java.awt.* should be sufficient. As a code convenetion though, several people recommend specifying exactly what is being import rather than use wildcard characters. Raji > Is there any can answer the simple question for me? > What's difference for the follow? I read some of the program written by java. from the import part, like: > import java.awt.*; > why cannot use just one:
Replies:
|
Sponsored Links
|