|
Java™ by example!
|
|
|
How do I execute a method that takes a parameter of type (n-dimensional) array using reflection?
Just specify Type[].class when looking up the method that has a parameter with a one-dimensional array of type Type. Main.java:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|