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

Sizin İçin Seçtik  How many types of package are there?

Leave a Reply

Your email address will not be published. Required fields are marked *