Originally posted by Campbell Ritchie:
As far as I remember, it is not possible to import from the "default" package.
This used to be possible in older versions of
Java, but it is not possible anymore since (I think) Java 5.
The only way to use classes in the "default" package is to put your own class in the "default" package (i.e., don't put a package statement in your code). But it's really not recommended to put classes in the "default" package. Your professor should really change his code and put his class Registre in a package.