China Naming Network - Ziwei Dou Shu - Can you name variables through loop statements in JAVA?
Can you name variables through loop statements in JAVA?
you can't do it in p>JAVA! !
If you really need it, I suggest you use an array or a map set.
map sets have key-value pairs! ! The
key can be used as the variable name.
The value is the value of the variable ~ ~