Annotations & Reflection
An annotation is metadata attached to code (classes, methods, fields, parameters) that doesn't directly affect program logic but can be read by the compiler, build tools, or at runtime via reflection to drive behavior — e.g., validation, dependency injection, or serialization rules.
Beginner3 min

