- 论坛徽章:
- 0
|
maybe don't need to be imported
As I've read from http://java.sun.com/docs/books/tutorial/java/package/usepkgs.html
"...For convenience, the Java compiler automatically imports three entire packages for each source file: (1) the package with no name, (2) the java.lang package, and (3) the current package (the package for the current file)....".
So you maybe don't need to import such classes. Just use directly in other classes like the classes in the package java.lang.
I've not tested it. If you have tested it, please let me know the result. |
|