Course contentsShow
Java
Lesson 2377 of 2,87045. Reflection APIPro lesson

Creating Arrays Reflectively with Array.newInstance

Use java.lang.reflect.Array.newInstance() to create arrays of any type and dimension dynamically at runtime.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.