Home Help Java A Java Glossary : Adapter Classes



Java Glossary : Adapter Classes
Posted on: April 3, 2006 at 12:00 AM
In java programming language, adapter class is used to implement an interface having a set of dummy methods.

Java Glossary : Adapter Classes

     

In java programming language, adapter class is used to implement an interface having a set of dummy methods. The developer can then further subclass the adapter class so that he can override to the methods he requires. Implementing an interface directly, requires to write all the dummy methods. In general an adapter class is used to rapidly construct your own Listener class to field events.

Java programming language also have a design adapter named adapter. The Adapter design pattern is also used to join to two unrelated interfaces so that can work together. The joint between these two interfaces is termed as Adapter. This is something like the conversion of interface of one class into interface. This is done by using an Adapter.

Related Tags for Java Glossary : Adapter Classes:


More Tutorials from this section

Ask Questions?    Discuss: Java Glossary : Adapter Classes  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.