Packages from another projects | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Packages from another projects

how can i import the packages from another projects?

29th Nov 2016, 5:42 PM
abdulmalek dery
abdulmalek dery - avatar
1 Answer
+ 2
You import classes from other packages just as you would with your own packages. A prerequisite is that the corresponding classes and packages are available in your classpath. Use a dependency management tool like maven to automate this kind of stuff for java.
29th Nov 2016, 6:41 PM
Kerem Adıgüzel
Kerem Adıgüzel - avatar