What is the use of `setAccessible(true)` in the Reflection API?
`setAccessible(true)` is used to invoke private methods directly, bypassing normal method access controls.
Thatâ€™s partially correct. `setAccessible(true)` allows access to private methods, but it also works for fields and constructors.
Can you explain how you would use reflection to access a private method using `setAccessible(true)`?