...

Creating new variables in java

JAVAEOC
06-11-2004, 02: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 ();


thanks

Spookster
06-11-2004, 04: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?

shmoove
06-11-2004, 09: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?

shmoove

JAVAEOC
06-11-2004, 01:58 PM
Yes, exactly, that is what I mean, but how can I do it?

thanks...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum