Possible Duplicate:
Creating a variable name using a String value
Let's say that I want to do a for loop that creates 10 integers named num1, num2, num3....etc.
How can I do this? I cannot seem to find a way to use a predefined string as the name of an object.