Can we import class file in Java?

You need to do two things. The import needs to reflect the fully qualified name of the class(es) you’re importing . It has nothing to do with the location of the class files on your machine. You could also do import mypackage.6 Ara 2012

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

Leave a Reply

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