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 / suresh chand
yes,it is possible that abstract class implements zero,
one,two,three or four interface methods but not all i.e
five. After this concrete class which extends the abstract
class, implements the remaining methods.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the final access modifier in java?
Why are data types important?
Why we do exception handling in java and how many types of exceptions are there?
what is the messsage u r going to get from an objectoriented programing?
What are the 6 functions?
How do you sing an Applet ?
What is the use of parseint in java?
What is final method in java?
What are thread groups?
What is predicate in java?
What is boolean query?
Explain the purpose of garbage collection in Java?
What is the purpose of javac exe?
Does java have extension methods?
When is the finally clause of a try-catch-finally statement executed?