How can you invoke a method dynamically using the Reflection API in Java?
You use the `invoke()` method, but it requires knowing the method's name and parameters at compile-time to work properly.
Thatâ€™s partially correct. You don't need to know the method name or parameters at compile-time because reflection allows you to specify them at runtime.
Can you explain how you would retrieve a method object dynamically and pass parameters during method invocation?