Explore the powerful world of Java Reflection in this comprehensive 20-minute video tutorial. Discover how to break conventional Java rules and gain unprecedented control over your code. Learn essential techniques for accessing and manipulating fields, including private ones, as well as retrieving and invoking methods dynamically. Understand the practical applications of Reflection and potential pitfalls to avoid. Gain insights from an experienced Lead Java Software Engineer on how to leverage this advanced feature to bend Java to your will, making complex programming tasks more manageable.
Overview
Syllabus
Great Power of Reflection
Getting Fields
Setting Private Fields
Getting Methods
Invoking Methods
Why Would You Use This?
What Could Go Wrong?
Taught by
Coding with John