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 are the 4 types of research methods?
what is the difference between preemptive scheduling and time slicing? : Java thread
How does java enable high performance?
What are the new features in java 8?
Can we define a package statement after the import statement in java?
What is difference between public static and void?
How big is a boolean?
What is the difference between preemptive scheduling and time slicing in java programming?
What are computer functions?
What is a method type?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
What is an error in java?
Why do we need hashset in java?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
What is lifetime variable?