0

HI Folks,

Suppose say Class ("DaniWeb") Contains 3 Objects
1.SunSystems
2.Microsoft
3.Yahoo

Now user has entered an Object name suppose say (Yahoo) .. and we need to confirm if the

User Specified object exists in that class are not , if not we have to create an object with the

User specified name ..?

Plz help me anyone with code ..

Hope U understand my point

2
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by stultuske
0

not kidding man if u know how to write code show me that

kidding, right?


not really, but keep on hoping

0

I know how to write code, but I have (as I stated earlier) not the slightest clue as to what you mean. if you are trying to do what I think you're trying to do: I doubt it's possible to let the user choose at runtime the name of the variables, since they have to be declared within the .java file.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.