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 are different types of encoding?
Why do we need data serialization?
What are synchronized blocks in java?
Why is it called buffering?
Explain about instanceof operator in java?
Describe the various concepts related to object oriented programming (oop).
What is the size of an array?
Explain reverse a linked list recursive java solution?
What is an array length?
Does string isempty check for null?
Explain about anonymous inner classes ?
Why are global variables used?
What do you mean by aggregation?
How many types of string data types are there?
What is string example?