Adapter classes?

Answer Posted / a sriniva rao

By using Adapter class we can implement the interface's
required methods.for ex. in an interface there are 100's of
methods,but we want to implement only two methods.By using
Adapter class we can implement those two methods and rest
are defined by null body.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the font and fontmetrics classes in java programming?

496


Explain where variables are created in memory?

578


What is the file extension for java?

604


What is super?

581


What is singleton class in ruby?

557






What are the string methods in java?

580


What one should take care of, while serializing the object?

482


How thread scheduler schedule the task?

582


Can I extend singleton class in java?

623


Explain the pointers in Java?

592


What is the use of coding?

519


What are access specifiers available in java?

575


Difference between this() and super() in java ?

611


What are the differences between throw and throws?

526


Can a serialized object be transferred via network?

510