What is adapter class?

Answer Posted / senthil

we can create our classes as subclasses of one of
the adapter classes, then we need to override only some of
the methods we need. i.e, An adapter classes provide empty
implementation of all methods declared in an EventListener
interface.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can java object be locked down for exclusive use by a given thread?

572


what is the final keyword denotes in java?

573


Should you use singleton pattern?

516


Can a main method be overloaded?

563


Which one of the following suits the description of a string better: derived or primitive?

499






Which container method is used to cause a container to be laid out and redisplayed in java programming?

589


Which class should you use to obtain design information about an object in java programming?

638


If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

695


Differentiate between static and non-static methods in java.

555


Write a function to print Fibonacci series and Tribonacci series?

743


What is the list interface?

596


What is the difference between static and global variables and also define what are volatile variables?

543


Can we create our own daemon thread?

528


What is unicode with example?

609


What is the purpose of void class?

598