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


Please Help Members By Posting Answers For Below Questions

Can we return null in java?

638


What is the differences between heap and stack memory in java? Explain

527


What methodology can be utilized to link to a database?

502


Why is java multithreaded?

527


What is default size of arraylist in java?

551






What are parsing rules?

495


What is use of set in java?

486


What is the tradeoff between using an unordered array versus an ordered array?

653


What is the largest long allowed by java?

530


Why is sizeof not a function?

537


When will we use them?

582


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?

597


What are implicit objects in java?

543


How to split a string in java?

622


write a program that list all permutations of ABCDEF in which A appears before B?

2007