Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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: 12183
34
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Report post to moderator
closing duplicate post
 
    Bookmark Topic Watch Topic
  • New Topic