How do I import a class I created in Java?

In Eclipse or NetBeans just write the class you want to use and press on Ctrl + Space . The IDE will automatically import the class.

Sizin İçin Seçtik  Do you need to import classes in the same package Java?

Leave a Reply

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