06-11-2004, 03:56 AM
I want the client to be able to create a new variable, how do I do this?
the variable should look like this:
Student student1 = new Student ();
06-11-2004, 05:07 AM
Well that's not a variable that's an object and that would be creating an instance of an object. And what do you mean by client?
06-11-2004, 10:08 AM
Design an interface for the user to enter the necessary data needed to create the object, with a button that creates the new object and adds to to a list of all object. Is that what you mean?
06-11-2004, 02:58 PM
Yes, exactly, that is what I mean, but how can I do it?