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

What is a substitution variable?

559


Does unicode support all languages?

520


Does treeset allow null in java?

508


When do you get classcastexception?

551


What is the private method modifier?

577






What is the use of inner class?

543


What is scope of a variable?

603


What is the final method?

599


What is the use of bufferedreader?

528


Why we override equals() method?

563


What does string [] args mean?

541


What is the function of log?

544


Can we clone singleton object?

560


What is the size of string?

556


What do you understand by looping in java? Explain the different types of loops.

561