October 17th, 2002, 03:30 AM
I need help with Java, please.
My question is so simple it hurts me to ask..
How do I make a Java object ie: Class objectName = new Class(); using a variable?
I've tried a couple of things, such as.. objectName(variable); (objectName + variable); and of course looking through my textbook's index did not help much.. Hopefully someone can answer this for me. Thank you. Also, I want to avoid using arrays.. unless there is no other choice.. Please suggest some solutions. Thank you.. =]