Answer Posted / selvi
Java Language rule are such that we must implement all the
methods of an interface even if we put them into empty
braces.i.e. we must override all the methods declared in
the interface.
But 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 ? | 191 Yes | 27 No |
Post New Answer View All Answers
What is keyword and identifier?
What is size of int in java?
What is hash code collision?
What is tcp ip in java?
How do you check if a number is a perfect square?
Can the interface be final?
How are the elements of a gridbaglayout organized in java programming?
How does arraylist size increase in java?
What does this mean java?
How to display all the prime numbers between 1 and 100
What is the private method modifier?
What is a parameter in matrices?
What is compareto?
placement papaers of spring computing technology
What is a boolean structure?