Is there a way to cast an Object with a java class with just the type of Class?
Suppose I've an Object and a String of its type of Class e.g. "org.name.Customer", is there a way in Java to dynamically make a cast of it with a Customer instance ? thanks in advance.
Aucun commentaire:
Enregistrer un commentaire