Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Project str as follows: myProject src: a.java b.java c.java d.java So how to import the classes defined in myLibrary package?
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Project str as follows: myProject src: a.java b.java c.java d.java So how to import the classes defined in myLibrary package?
Use import
statement like :
import myLibrary.*;
And go through basics : https://docs.oracle.com/javase/tutorial/java/package/usepkgs.html
Why can't you just use an import line?
import myLibrary.MyClass;