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 ascii code?
What is polymorphism java example?
Is integer a class?
Can you call one constructor from another if a class has multiple constructors?
What is the role of the java.rmi.naming class?
What is a function in java?
What are the common uses of "this" keyword in java ?
What is the purpose of methodology?
What is Enum in Java?
What is the difference between exception and error in java?
What is r * in math?
What are the escape sequences in java?
What is Garbage Collection in Java
What is meant by data hiding in java?
What is Gang of four design patterns