suppose we have an interface & that interface contains five
methods. if a class implements that interface then we have
to bound that to give tha definition of all five methods in
that class. If we declare that class as abstract then can
we call only two methods to give the deinition of that
method & i don't want to give the definition of all the
methods? can it possible
Answer Posted / srini
i think we can accomplish by using adapter design pattern.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is java algorithm?
Can we call a non-static method from inside a static method?
What is protected access modifier?
What does bitwise or mean?
Which variable is the independent variable?
What is the use of arraylist class in java?
What is complexity in java?
What is quick sort in java?
Can you call one constructor from another if a class has multiple constructors?
How do you decide when to use arraylist and linkedlist?
What will happen if a thrown exception is not handled?
Is main an identifier?
What are implicit objects in java?
What does percent mean in java?
What is the difference between an if statement and a switch statement?