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 a platform?
Difference between collection, collection and collections in java?
What is the reason behind using constructors and destructors?
What is the benefit of inner / nested classes ?
What is java lang string?
What is port number in java?
Is string a class in java?
What is e in java?
What is the major advantage of external iteration over internal iteration?
What is the use of static class?
How do you break a loop?
What are some examples of variable costs?
What are constants?
What is java and their uses?
What is the difference between multitasking and multithreading in Java