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 do you mean by synchronized non access modifier?
What is core java called?
Is java call by reference?
Is java map thread safe?
What do you mean by jjs in java8?
What is the difference between Error, defect,fault, failure and mistake?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
Why is a singleton bad?
Why pointers are not used in java?
do I need to use synchronized on setvalue(int)? : Java thread
Explain aggregation in java?
How do you remove duplicates from an array in java?
What is generic type?
What is java Applet?
What is the relationship between class and object?