If the classes all derive from a common base class, you could create an array of that class:How do i create an array (of size 5) in the AssetMain class for each of the classes createdTheBaseClass[] assets new TheBaseClass[5];
If there is no base class, the type of the array would be Object. However this is not recommended to mix different data types in an array.
Please edit your post and wrap your code with code tags:
[code=java]
<YOUR CODE HERE>
[/code]
to get highlighting and preserve formatting.