Mega Code Archive

 
Categories / Java Book / 008 Reflection
 

0442 Create new instance using the Contructor

T newInstance(Object... initargs) Uses the constructor represented by this Constructor object to create and initialize a new instance of the constructor's declaring class, with the specified initialization parameters