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?

Answers were Sorted based on User's Feedback



Adapter classes?..

Answer / 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

Adapter classes?..

Answer / a sriniva rao

By using Adapter class we can implement the interface's
required methods.for ex. in an interface there are 100's of
methods,but we want to implement only two methods.By using
Adapter class we can implement those two methods and rest
are defined by null body.

Is This Answer Correct ?    3 Yes 0 No

Adapter classes?..

Answer / ravikiran

Adapter classes are the null implementation for the methods
od container class

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Core Java Interview Questions

Is main a keyword in java?

0 Answers  


What happens when a thread cannot acquire a lock on an object in java programming?

0 Answers  


Can we extend singleton class in java?

0 Answers  


List out benefits of object oriented programming language?

0 Answers  


Can a class have a static inner class?

0 Answers  


What is class??

0 Answers   Tech Mahindra,


What are the different types of inheritance in java?

0 Answers  


How do you create an array in java?

0 Answers  


what questions are been asked ??? for interview in apti

0 Answers  


How many wrapper classes are there in java?

0 Answers  


Difference between error and exception

3 Answers   Nous, TCS,


Is java a utf 8 string?

0 Answers  


Categories