NOTICE: Kalamazoo Public Library is currently experiencing an interruption with our YouTube channel. We are working to resolve the issue and hope to have access restored soon. We appreciate your patience.

Learn Reflection with Java

Summary

Get up to speed with when and how to use reflection to become a more well-rounded Java programmer.

Reflection is a powerful feature in Java that can be used to expand the capabilities of a program, or to examine a class, method, or object at runtime, even if you don’t know its name. In this course from Pearson, get started with the basics, then learn how reflection works with the more modern language features such as sealed classes and records, as well as how arrays can be manipulated and created via reflection. Along the way, explore the purpose of MethodHandles and VarHandles to find out when and how to use them both like a pro.

Subjects