I have a class - xClass, that I want to load into an array of xClass so I the declaration:
xClass mysclass[] = new xClass[10]; myclass[0] = new xClass(); my
Arrays.copyOf() method has many options to fix the problem with Array length increasing dynamically.
Arrays.copyOf()
Java API