Which statements are true about listeners? A. The return value from a listener is of boolean type. B. Most components allow multiple listeners to be added. C. A copy of the original event is passed into a listener method. D. If multiple listeners are added to a single component, they all must all be friends to each other. E. If the multiple listeners are added to a single component, the order [in which listeners are called is guaranteed]
First not necessarily should the listener return a value not to mention a boolean or sth else whatever
Second listeners have nothing to do with each other including their sequences when being called, for instance, MouseListener and KeyListener
If anything wrong, sorry in advance
btw,LZ你连题目都直接给的英文,想必能看明白1楼的,如果不是,哎....
B没错,一个组件允许添加多个listener
C是传进来了
D listener还要互相友好? 不解
因该是BC.