How do you access a private method in Java?
You can access a private method by using reflection to invoke the method from another class.
Correct! Reflection allows you to access private methods dynamically.
Can you explain how reflection works and what security precautions should be taken when using it?