Answer Posted / senthil
we can create our classes as subclasses of one of
the adapter classes, then we need to override only some of
the methods we need. i.e, An adapter classes provide empty
implementation of all methods declared in an EventListener
interface.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is a copy constructor?
Why is singleton not thread safe?
What is the biggest integer?
When should a function throw an exception?
Why is stringbuffer called mutable?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
How do you check if a string is lexicographically in java?
What is anti pattern in java?
What is Gang of four design patterns
Explain the difference between abstract classes and interfaces in java?
What is a boolean flag in java?
How are variables stored?
How do you escape json?
Are arrays immutable in java?