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
List out benefits of object oriented programming language?
Explain the JDB in depth & command line.
How does finally block differ from finalize() method?
Is binary a low level language?
Can we extend singleton class?
What is memory leak and how does java handle it?
Can an interface be final?
Define jit compiler?
What are the important features of Java 10 release?
Do you need to import math in java?
What are the parts of a method?
List the three steps for creating an object for a class?
Where are local variables stored?
What is computer compiler?
How can you add and remove nodes in jtree?