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
What is style and indentation?
explain different ways of using thread? : Java thread
What is this keyword used for?
What is diamond operator in java?
When do you get classcastexception?
What is t type java?
Is void a data type in java?
What are the different types of java?
What are the changes in java.io in java 8 ?
Why can't we use static class instead of singleton?
Can abstract class have private constructor?
What is the difference between the direct buffer and non-direct buffer in java?
Explain try and catch keywords in java?
Why do people says “java is robust”?
What is double parsedouble in java?