What we have to do, when we don't want to implement all
methods of an interface?
Answer Posted / mallikarjun
Use another called implementing interface and that class can
be inherited to sub class. This process is called adapter
pattern
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is widening and narrowing in java? Discuss with an example.
What is currentthread()?
If a method is declared as protected, where may the method be accessed in java programming?
What is the difference between procedural and object-oriented programs?
How do you compare characters in java?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
What is an example of a constant variable?
5 Coding best practices you learned in java?
Does java list allow null?
What are the types of methods in java?
How are the elements of a gridbaglayout organized in java programming?
Is java a security risk?
What is finalize()? Is finalize() similar to a destructor?
What is reverse function?
Can a method be static?