Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Java and classes

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?

Name: Anonymous 2007-12-08 10:05

Haskell will teach you classes.

Name: Anonymous 2007-12-08 10:10

Lisp will teach you macros.

Name: Anonymous 2007-12-08 10:11

gb2mexico

Name: Anonymous 2007-12-08 10:13

Welp, that's the first and last time I venture into /prog/.

Name: Anonymous 2007-12-08 10:14

Mission accomplished

Name: Anonymous 2007-12-08 10:24

>>2-6
Oh, I love you, /prog/.

Name: Anonymous 2007-12-08 10:25

Change the context of the post to niggers and cotton field and I'll think about helping you.

Name: Anonymous 2007-12-08 15:17

Packages.

Name: Anonymous 2009-03-18 2:57

The word pirahna, is all I can think of that rhymes with marijuana

Marijuana MUST be legalized.

Name: Anonymous 2009-08-17 0:14

Lain.

Name: Anonymous 2010-11-28 9:52

Name: Anonymous 2010-11-28 16:21

Name: Anonymous 2011-02-04 12:08

Don't change these.
Name: Email:
Entire Thread Thread List