posted 22 years ago
Hello all...
This is from RHE. - pg 310
True or False:-
"A component subclass that has executed enableEvents() to enable processing
of certain kind of event cannot also use an adapter as a listener for the same kind of event."
The answer given was :- false
I think the answer should be True, the Reason:-
What i don't understand is that if u r enabling an event for a component,
u r extending the component class. so if u r extending a component class
then how can u extend another class i.e. AdapterClass.
Can someone explain.
Thanks.
Shah Chunky - Sun Certified Java2 Programmer.