2
Answers

Use values in an arraylist to get value from variables

john_b_mason

john_b_mason

21y
1.9k
1
I have an arraylist that has 6 values. These values are really the names of six variables. I want to be be able to use the arraylist values in a foreach loop to get the values from the variables. How do I use a text string to set the name of a variable that I want to get the value of? Thanks in advance.
Answers (2)