Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: Import statement
|
Posted: Jan 13, 2003 4:42 PM
|
|
Are you trying to import a class from the default package? If so, then you don't need to import it. You only need to import classes from packages, which would always involve the dots. For instance, to import all the classes and interfaces from a package called "silly," you'd have import silly.*;
or to import just the class Thing, you'd have import silly.Thing;
As you can see, imports always seem to involve dots.
|
|