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
Write a method to check if input string is palindrome?
What is the benefit of using enum to declare a constant?
What are synchronized methods and synchronized statements in java programming?
Is zero a natural number?
Is set sorted in java?
What are the two ways in which thread can be created?
What is a lightweight component?
What is the default value of an object reference declared as an instance variable?
What is a list in java?
How many types of methods are there?
What are the methods available in a class?
Difference between vector and arraylist.
How does arraylist size increase in java?
Is java still relevant?
What is the difference between the size and capacity of a vector?