Name: Anonymous 2007-12-08 10:04
Hmmm, so I haven't done Java in a long, long time. And I remember that there's that whole stupidity of classes each needing to have their own files, unless they're subclasses. So I've got that down.
But how the fs@$13ck do I then import them into the main program/class!?
Ie, let's say I have a program AppleFarm.java, with classes MigrantWorker.java and Basket.java and Apple.java etc. etc. etc.
How do I get MigrantWorker, Basket, Apple, etc. all into the AppleFarm program so I can use it?
But how the fs@$13ck do I then import them into the main program/class!?
Ie, let's say I have a program AppleFarm.java, with classes MigrantWorker.java and Basket.java and Apple.java etc. etc. etc.
How do I get MigrantWorker, Basket, Apple, etc. all into the AppleFarm program so I can use it?