How to create object names java
<p>Lets say I need to create lot of class objects for my main class so I was wondering if there was any way to create a loop that creates a new class object many times but each time it changes the name if the class object.</p>

<p>Hey I know you might be thinking why would you want to have multiple class objects that are the same for a program but I want to do something similar but I dont want to release my code for it. I will give a sample of the code if it is needed though</p>

<p>EDIT:I want my class classnamehere to take user input and every time they type something like "open that thing" It would create a new class object</p>
