Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic

Variable name from a string

 
Tim Porritt
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 12122
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Report post to moderator
closing duplicate post
 
    Bookmark Topic Watch Topic
  • New Topic