whenever there is a conflict between two classes bearing the same name :
1. the class in the local package gets preference.
2. the other class has to be addressed completely. (with its package name)
so, if u do not specify any package, java uses the local class (which is in its scope)