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 classes?

Answer Posted / ranganathkini

The Java AWT provides a number of adapter classes for the
different EventListener interfaces. These adapter classes
implements the corresponding interfaces with a series of
do-nothing methods.

By subclassing the respective Adapter rather than
implementing EventListener interfaces directly, one can
avoid having to write the methods that are not actually
needed. Only those methods can be overridden that are
planned to be actually implemented.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In java how do we copy objects?

1059


What do you understand by garbage collection in Java? Can it be forced to run?

990


What is return null in java?

968


Explain thread life cycle in java?

1044


What is a local class in java?

1050


Can constructor be inherited?

1045


How to make a read-only class in java?

1175


Difference between Preemptive scheduling vs. Time slicing?

1028


What is general methodology?

1048


a thread is runnable, how does that work? : Java thread

1024


When is update method called?

1149


List primitive java types?

1045


How do you download stubs from Remote place?

1796


How do you execute a thread in java?

959


Why is java so popular?

1129