Complete the listener

Report a typo

Match the missing code with numbers to make the listener class correct:

{1}
public class TestListener implements {2}<{3}> {

    {4}
    public void {5}(TestEvent event) {
        System.out.println("Event handling"));
    }
}
Match the items from left and right columns
1
2
3
4
5
@Override
onApplicationEvent
TestEvent
@Component
ApplicationListener
___

Create a free account to access the full topic