I have a variable that contains the name of another variable. I intend to read the contents of the variable name. how?
n_joan
0
Newbie Poster
Recommended Answers
Jump to PostSo is your setup like this:
String variableName = "aVariable"; int aVariable = 670;
And you want to access aVariable through variableName? If that's the case, why do you need variableName?
All 4 Replies
darkagn
315
Veteran Poster
Featured Poster
n_joan
0
Newbie Poster
Tiger Woods
0
Newbie Poster
n_joan
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.