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
Can we return null in java?
What is the differences between heap and stack memory in java? Explain
What methodology can be utilized to link to a database?
Why is java multithreaded?
What is default size of arraylist in java?
What are parsing rules?
What is use of set in java?
What is the tradeoff between using an unordered array versus an ordered array?
What is the largest long allowed by java?
Why is sizeof not a function?
When will we use them?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What are implicit objects in java?
How to split a string in java?
write a program that list all permutations of ABCDEF in which A appears before B?