|
-
October 17th, 2002, 03:38 AM
#1
I need help with Java, please.
I have been trying to figure this out.. I need to create an object using a variable..
This is what I have tried:
Class objectName(variable) = new Class();
Class (objectName + variable) = new Class();
Class (variable) = new Class();
Class variable = new Class();
If you understand what I'm trying to do, as in.. If the user were to type in 5 let's say I want the object to be labeled.. 5 or even object5..
I've already searched through my textbook's index.. And no luck yet.. Please help me..
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|