This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I've just started learning java and I'm trying to work out how i can create x n number of the same object (myObject) and assign them to a reference variable which the name increments by one each time, so i create myObject1, myObject2, myObject3 etc.
Here is the code. The issue is line #4 - i cannot use the String name i created on line 3, i'm stuck so help / suggestions are greatly appreciated.