If i have a method which takes a int[]
as a parameter and i wish to call method.invoke
on this then do i need to do the following
Object[] anArray = {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000};
method.invoke(obj, anArray);
Is it as simple as that as i seem to be getting errors?
Regards