Annotations with Java are widely used with most of the popular frameworks. Put simply, annotations are a way to configure metadata for a class, attribute, or method. You will see annotations being used for dependency injection for example. Lombok, the lib that makes your data objects much simpler makes vast use of annotations. To make the best use of annotations, we need to use reflection to apply some logic to our annotated code.
To get you familiar with the concept, try out this Java code Challenge and improve your skills!
You can also watch the full video explanation at the following link: (I recommend you to try out the Java code challenge first though)
Keep breaking your limits, challenger!