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...


adapter class ?

Answers were Sorted based on User's Feedback



adapter class ?..

Answer / janet

An adapter class provides an empty implementation of all
methods in an event listener interface.Adapter classes are
useful when you want to receive and process only some of
the events that are handled by a particular event listener
interface.you can define a new class to act lisener by
extending one of the adapter classes and implementing onlu
those events in which you are interested.
For ex: the MouseMotionListenerAdapter class has two
methods,mouseDragged() and mouseMoved(). The signatures of
these empty are exactly as defined in the
MouseMotionListener interface. If you are interested in
onlu mouse drag events,that you could simply extend
MouseMotionAdapter and implement mouseDragged().

Is This Answer Correct ?    3 Yes 0 No

adapter class ?..

Answer / ravikiran(aptech mumbai)

adapter class provides empty implementation for
eventlistener interface

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Give an example of call be reference significance.

0 Answers   Agilent,


What is the difference between preemptive scheduling and time slicing in java programming?

0 Answers  


Explain when we should make an instance variable private.

0 Answers  


What is the significance of continue jump statement? Explain with an example.

0 Answers   Amdocs,


Is java code slower than native code?

0 Answers  


I dont want to use serialzable in java is there any another concept so plz tell me

3 Answers   WDC,


How many arguments can a method have java?

0 Answers  


If goto and const is reserve words than why it is not work in java?

0 Answers  


Why is prepared Statement, Callable Statement used for? What is the need of Batch updates?

1 Answers   Logica CMG,


Does anyone still use java?

0 Answers  


What is the difference between C++ and Java and your preferences?

0 Answers   Expedia,


What is a method signature java?

0 Answers  


Categories