+ 2
how can i create object with name of variables value
8 odpowiedzi
+ 3
No, you really don't need that. You could override an object's functionality to do something different or create properties in a class extending from a base class, which is really the proper way to do kind of what you're asking. If you don't understand how to do this, keep practicing, because what you're thinking of doing is not correct and for you to think it is correct proves you need more practice.
+ 1
You don't. and if you could, why would you?
0
Please explain your question further..
0
how can i create object of class person with name of input ???
0
you mean, if you enter "Edo"
you want the variable name to be "Edo" also?
0
yes
0
Ahh..
NO, you can't do that.
Plus, you don't need that :)
- 1
i need