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 meant by data hiding in java?
List primitive java types?
What is gui programming?
What is the difference in between cpp and java? Can u explain in detail?
What does three dots mean in java?
What about interrupt() method of thread class ?
Does java linked list allow duplicates?
What are features of java?
Describe the Big-O Notation.
What is the purpose of an interface?
Write a java program for binary search?
Where is const variable stored?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
What initialize variables?
What is a method in java?