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
Differece between class and generic class?
How does predicate work in java?
How do you check if an arraylist is not empty?
What is the default value of an object reference declared as an instance variable?
What is the purpose of methodology?
What's the difference between comparison done by equals method and == operator?
What is definition and declaration?
What happens to a static var that is defined within a method of a class?
What are the three parts of a lambda expression? What is the type of lambda expression?
What is string and its types?
What is a stringbuilder?
What does the “static” keyword mean? Can you override private or static method in java?
Give me an example of array and linked list? Where they can be used?
How do you create a first line indent?
What is a website container?