Q} In case of______ we can implement only required methods of any interface.
a) Interface
b) package
c) adapter classes
d) event classes
Answers
Answered by
1
Answer:
Ans is A:Interface
All method in interface must be implemented
Answered by
2
In which of the case we can implement only required methods of any interface:
Explanation:
- If you don't implement all the methods of the interface , then the class should be abstract, in such a case.
- In Java, if interface contains default implementations for some methods, we don't have to implement them in classes that implement the interface.
- a) Interface is correct.
Similar questions