when to use abstract class and when to use interface?
Answer Posted / devarathnam c,kotagudibanda(po
Hi...
When u want to inherit the properties of base class only
(not other resources) go for Abstract class.
When u want to inherit the properties of base class and
other resources go for Interfaces .
Is This Answer Correct ? | 42 Yes | 34 No |
Post New Answer View All Answers
Outline the major features of java.
What are actual parameters?
How do you write a conditional statement?
What is listnode in java?
What are some examples of variable costs?
What are the methods of object class ?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
why not override thread to make a runnable? : Java thread
What is the diffrence between inner class and nested class?
What is stack example?
Can a constructor be made final?
What is an interface in java?
What are the important features of Java 11 release?
What are the disadvantages of using inner classes?
Why does my function print none?