Use setAccessible(true) to invoke private methods.
To invoke a private method using reflection, you must first call setAccessible(true) on the Method object. This breaks Java's encapsulation, allowing you to execute methods that are not normally accessible. In a security-sensitive application, such as online banking, misuse of this capability can lead to unintended access to critical operations.