Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Listener class

 
Atul Sawant
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oi!

Can a listener class implement more than one listener interfaces? Please let me know. I am confused.

Regards
 
Rancy Chadha
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes ofcourse it can, you know for sure that any class can implement mulitiple interfaces as long as it is providing implementation of all the methods of all the implemented interfaces.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it's technically possible. But the container will create an instance for each.
 
Atul Sawant
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Satou kurinosuke:
I think it's technically possible. But the container will create an instance for each.



Could you please throw more light on your statement?

@Rancy....thanks for confirming! cheers!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic