I have a requirement where i have to create a parametrized ArrayList at runtime but facing problems.Below is what i am trying to do
List<"MyCustomClassName"> list = new ArrayList<"MyCustomClassName">();
here MyCustomClassName is the class name which i get at run time in a string. Please share your thoughts. Thanks in advance
Aucun commentaire:
Enregistrer un commentaire