So, I checked a few tuts on Java, got my hello world! program running, made a few functions that added x + y, etc. Beginners Stuff. Now I've just got a few (more) questions.
1)What's the point of classes/what are they used for exactly?
2)(Sort of goes with 1) How/Why would one use more than one class in a script?
3)(Very easy question... I'm "new" at object-oriented programming) I sort of get the gist of objects and such, but I keep on seeing things like 'you need to use awt.robot in java for findcolor stuff', etc. Could someone explain, maybe giving some more knowledge about objects and such?
4)Is it possible to have a class within a class?
5)Someone mind explaining inheritance to me?
I think that's all... thanks for all your help. I'm using the Sun tutorials right now, and they're pretty detailed and very well written, however I think it's sometimes better to get help from a real person.



Reply With Quote








.