Create a new instance of a class type only known at runtime, and cast it, based on a given object
19114
Create an instance of a class from a string
104459
How do I check if an object's type is a particular subclass in C++?
37365
Get generic type of class at runtime
92757
Java Reflection: get instances of a given class found by entering its name?
93171
Polymorphism and casting
24894
Is there a way to instantiate objects from a string holding their class name?
94251
Is it possible to assign a base class object to a derived class reference with an explicit typecast?
32337
Dynamically find the class that represents a primitive Java type
33795
Is there a call_user_func() equivalent to create a new class instance?
125134
Instantiating object of type parameter
70195
Can I use Class.newInstance() with constructor arguments?
84155
How do I get a class instance of generic type T?
15912
Java reflection: how to get field value from an object, not knowing its class
132039
how to set compile time validation on class instance members
95466
How to determine the class of a generic type?
97389
C# creating instance of class and set properties by name in string
65205
Synthetic Class in Java