This is not the first time someone asks a similar question. You cannot declare variable names dynamically, that's not how Java works. Why do you want to do this?
Use a different kind of data structure. You could use a Map, for example, to store objects by name.