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
What is the difference between jfc & wfc?
What are inner classes or non static nested classes in java?
What is 16 bits called?
Explain the inheritance?
Highest level event class of the event-delegation model?
Are private methods final?
Where we write javascript code in html page?
How do you represent a space in regex java?
Difference between linkedlist and arraylist.
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
Is there any case when finally will not be executed?
Variable of the boolean type is automatically initialized as?
Can we have any other return type than void for main method?
Why do we need wrapper class?
Explain about the main() method in java?