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 meaning of course?

795


What is difference between static class and singleton pattern?

661


Name few java util classes introduced with java 8 ?

690


How many unicode characters are there?

762


What are the parts of methodology?

727


We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.

1680


What is a prefix function.write down a code to compute prefix function.

746


What do you mean by local class?

735


What is enhanced loop in java?

719


Are registers volatile?

696


What does java se mean?

758


What is string builder?

639


What is java console application?

726


What are exception handling keywords in java?

798


What is sortedmap interface?

756