my dog learned polymorphism
The moose likes Game Development and the fly likes Variable name from a string Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Game Development
Reply locked New topic
Author

Variable name from a string

Tim Porritt
Greenhorn

Joined: Jul 22, 2012
Posts: 4
Hi i'm not sure if this is possible or not, but i want to get a variable name from a string.
My code so far is as follows:



I'll add the rest of the alphabet later.

Thanks in advance for any help given.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 9955
    
    6

closing duplicate post


Never ascribe to malice that which can be adequately explained by stupidity.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Variable name from a string
 
Similar Threads
Caesar cipher
Add a letter to the end of a variable name
NoSuchMethodError
A contradiction....(Kahlid Mughal & Sun Java Tutorial)
Programming Diversion 2a: Applying a Key