Some of the popular annotations introduced in Java 8 are:
- @FunctionalInterface: This annotation is used to mark an interface as Functional Interface. As mentioned earlier, A FunctionalInterface can be used for lambda expressions.
- @Repeatable: This annotation is used for marking another annotation. It indicates that the marked annotation can be applied multiple times on a type.