What is adapter class?

Answer Posted / akki

Adapter classes are empty implementation of the methods provided by their corresponding interfaces.
if we implements the interface we have to give definition to all methods of interface.
but if we extend adapter class then we will require to define method which we gonna use in our code

Is This Answer Correct ?    20 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is set ordered?

724


What is a local block?

879


Write a program in java to create a doubly linked list containing n nodes.

736


Define packages in java?

775


what state does a thread enter when it terminates its processing? : Java thread

812


Can I override protected method in java?

794


What is difference between fileinputstream and filereader in java?

765


Explain 5 features introduced in jdk 1.7?

800


What is the purpose of using the java bean?

793


How many types of voids are there?

745


When does an object becomes eligible for garbage collection in java?

808


What is annotation in java?

772


What is the difference between a method and a procedure?

748


if u open login & logout ,how can udisplay the timelogin & logout members ?

1941


What is boolean example?

728