Nov 5, 2014

Does importing a package imports the subpackages as well? Example: Does importing com.MyTest.* also import com.MyTest.UnitTests.*?

No you will have to import the subpackages explicitly. Importing com.MyTest.* will import classes in the packageMyTest only. It will not import any class in any of it's subpackage.


Post a Comment