Which method signatures follow the JavaBeans naming convention:
An event listener registration method must begin with a prefix 'add' followed by the type of the listener. This method must be declared public, and it must accept one and only one argument of the listener's type. There is only one signature in the list which meets these requirements: public void addSomeListener(SomeListener l).

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Sign Up Now
or Subscribe for future quizzes