Answer Posted / rajat patel
An adapter class is an implementation class of listener interface which contain all methods implemented with empty body.For e.g WindowAdapter is an adapter of WindowListener interface. Adapter class reduce overhead on programming while working with listener interface.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is difference between equals and hashcode method?
What is arraylist e in java?
What is difference between null and void?
How do you remove duplicates from an array in java?
What is javac_g?
How many types of voids are there?
Can a source file contain more than one class declaration?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?
How do I convert a string to an int in java?
What is the difference between replace and replace all?
Is it possible to specify multiple jndi names when deploying an ejb?
What is the new line character?
What is a substitution variable?
List some features of the abstract class.
For class CFoo { }; what default methods will the compiler generate for you>?