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 / sai hegde
It's possible that your abstract class implements one/all or
none of the interface methods. The concrete class that
extends your abstract class will have to provide
implementations for the methods that have not been
implemented in your abstract class.
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is difference between equal and == in java?
Discuss 2D arrays.
What are static blocks in java ?
What class allows you to read objects directly from a stream in java programming?
What is immutable in java?
What is nested top-level class?
What is string manipulation?
What is the difference between applet and application?
I want to persist data of objects for later use. What’s the best approach to do so?
What are format specifiers in java?
What is classes in java?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
What are the advantages and disadvantages of object cloning?
List some important characteristics on jre
What is a conditional equation?