Which method signatures follow the JavaBeans naming convention:
Explanation
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).

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по Java
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты