Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are listeners in java and explain ?

Answers were Sorted based on User's Feedback



What are listeners in java and explain ?..

Answer / raman

A listener is called when the user does something to the user
interface that causes an event. Altho these events usually
come from the user interface.

Named Inner Class Listeners -
Anonymous Inner Class Listeners -
Top-level Listeners -
Action and AbstractAction -
External Listeners -
Subclassing a component and overriding processActionEvent().

Is This Answer Correct ?    1 Yes 1 No

What are listeners in java and explain ?..

Answer / raman

Twelve types of event are used in Java AWT. These are as
follows :
1. ActionEvent
2. AdjustmentEvent
3. ComponentEvent
4. ContainerEvent
5. FocusEvent
6. InputEvent
7. ItemEvent
8. KeyEvent
9. MouseEvent
10. PaintEvent
11. TextEvent
12. WindowEvent

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Core Java Interview Questions

Can inner class be public in java?

0 Answers  


In Java, what are this() and super(), and where are you required to use them?

2 Answers  


what are synchronized methods and synchronized statements? : Java thread

0 Answers  


How many types of variables are there?

0 Answers  


Can a Byte object be cast to a double value?

3 Answers   KO,


What is a stringbuffer?

0 Answers  


What is java util function?

0 Answers  


Can a class be a super class and a sub-class at the same time? Give example.

1 Answers  


What environment variables do I need to set on my machine in order to be able to run java programs?

0 Answers  


What does @override mean?

0 Answers  


What are java annotations?

0 Answers  


why Runnable interface is preferable than extending the Thread class?

7 Answers   Aizza, College School Exams Tests, Sybrant Technologies, Wipro,


Categories