I would like to know if there is a way to import and instantiate an object from a class that is, for example, inside a folder in my files and not in a project within eclipse.
I would like to know if there is a way to import and instantiate an object from a class that is, for example, inside a folder in my files and not in a project within eclipse.
Yes, of course, yes.
There are at least 3 options:
The simplest is:
Select the project > Properties > Java Build Path > Aba Libraries > Click Add External Class Folder > Select folder.
In order to instantiate an object of this class, it needs: