You really need to understand the basic concept of an "Object" a "Method" and a "Variable" and I don't just mean you know what they are you need to understand how objects interact with other and how they manage their own state etc..
Forgot to tell you how to do this. In Eclipse, right-clck your project and select properties and select the item labelled Java Build Path. From here you can add as many external classes as you want, select Add Class Folder to make use of classes in another project already imported into Eclipse or in your case you want Add External Class Folder to import classes from a folder. The classes will then be in the projects build path which means the compiler will see them during compilation and stop any errors about undefined types. See below:
Using a powerful IDE can help you learn whats going wrong a lot easier thanks to the on the fly error checking and also through the debugger. The debugger is one of the most powerful tools built into the IDE, if you master how to use it then you will save hours of time you would otherwise spend hunting down silly mistakes.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.