posted 24 years ago
Sri,
What is true of the listeners?
A. the return type is boolean
B. most components allow multiple listeners to be added.
C. a copy of the original event is passed into a listener method
A. False. The return type is "void" .
b. True.
c. False. (Correct me if I am wrong about this Answer c).
2)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].
a. False. "void" is the return type.
b. True
D. False(friends ?.... no way)
E. False. There is "no way" to determine the order of Events.
Can somebody help regarding the below statment
"A copy of the original event is passed into a listener method."
Aruna