Can we import default package?

You can import a default package to a default package class only . If you do so for another package, then it shall be a compilation error. This is incorrect. There is no syntax that will allow you to name a class in the default package in an import statement.7 Kas 2011

Read more