Does importing a package imports the subpackages as well?
No you will have to import the subpackages explicitly.
For eg: Importing com.MyTest.* will import classes in the package MyTest only. It will not import any class in any of it’s subpackage.
No you will have to import the subpackages explicitly.
For eg: Importing com.MyTest.* will import classes in the package MyTest only. It will not import any class in any of it’s subpackage.