Missing annotation

Report a typo

What annotation is missing in the annotation-driven listener? Write the name this annotation with the @ sign.

@Component
public class AnnotationListener {
    //annotation missed
    public void handleEvent(TestEvent event) {
        System.out.println("Handling the event...");
    }
}
Enter a short text
___

Create a free account to access the full topic