mercredi 22 juin 2016

Create a matrix based in Objects Class acquire by Class Loader method

In my code, I load class in .loadClass method. This work.

NewUnit = myClassLoader.loadClass(classNameToBeLoaded);

Now I need create a matrix based of instances of this class, like this:

NewUnit[][] units = new NewUnit[8][5];

Help!





Aucun commentaire:

Enregistrer un commentaire