Okay, so far I know a lot about java. Databases, URL, SQL, etc. But so far my books and I have only dealt with single class programs. I was wondering something about OOP.
If I have a class that defines an example object and each example object has it's own array.
Ex.
public class Example {
Array exampleArray;
}
does that mean that every 'example' object has it's own unique 'exampleArray' Array object that can be referenced by "insert objectname here".exampleArray ?
Ex.
Example dataBase = new Example();
int length = dataBase.exampleArray.length();
will this work?
sorry, for some reason the line feed isn't working with my example code