| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: new instance of clazzclass to instantiate clazz)Return a new instance of the specified class. |
| newInstance | back to summary |
|---|---|
| public Object newInstance(Class<?> clazz) throws InstantiationException Return a new instance of the specified class. The recommended way is
without calling any constructor. This is usually done by doing like
| |