Java - Interview Questions and Answers on Listeners

Q1.  Example of Observer Design Pattern ?

Ans. Listeners.

Q2.  What is a Listener ?

Ans. In GUI programming, an object that can be registered to be notified when events of some given type occur. The object is said to “listen” for the events.


Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner
comments powered by Disqus