You can't import classes from the default package. You should avoid using the default package except for very small example programs.
From the Java language specification:
It is a compile time error to import a type from the unnamed package.
1.4m articles
1.4m replys
5 comments
56.9k users