25.9.2
This website uses cookies to ensure you get the best experience on our website. Learn more

Java: Working with Annotations, Generics, & Arrays Using Reflection

Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. Annotations on Java code allow you to associate additional metadata with classes, member variables, constructors, and methods. These annotations can be used to perform additional checks or add functionality to your Java code. Use this course to practice using annotations with reflection. Work with both built-in and custom annotations and see how you can access the annotations applied on classes, fields, and methods. Learn why not all annotations can be accessed via reflection. Create your own custom annotation and experiment with various retention policies. Next, examine accessing generics and arrays with reflection. When you're finished, you'll be able to harness the power of reflection to add new functionality to your code and work with generics and arrays.

Issued on

September 27, 2022

Expires on

Does not expire