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
Why is logger singleton?
Difference between comparator and comparable in java?
Explain about exception propagation?
How to sort list of list in java?
What is a Null object?
What is a singleton factory?
What’s the difference between constructors and other methods?
How do you achieve polymorphism in java?
Describe what a thread-local variable is in java?
What is a buffer in java?
In the below example, how many string objects are created?
What is bytecode verifier?
How do you use compareto in java?
Can a class be private?
What are mutable classes?