What’s the Difference Between interface and @interface in Java?'
🔗 https://www.baeldung.com/java-interface-vs-annotation
TLDR An interface in Java specifies a behavior that implementing classes must fulfill, containing method signatures without implementations, and supporting abstraction, multiple inheritance, and loose coupling. On the other hand, the @interface is used to define custom annotations that add metadata to code elements for use during compilation or runtime by tools and frameworks. Key annotations like @Retention and @Target further specify how and where these annotations can be applied.
🔗 https://www.baeldung.com/java-interface-vs-annotation