For the following statement:
ClassNameA var;
The Java compiler uses the following processes to resolve the simple name ClassNameA to its fully qualified name.
It is legal to import classes from the same package using single-type import declarations or import-on-demand declaration.