when to use abstract class and when to use interface?
Answer Posted / surendra
Always prefer to interface until you are not sure the behavior
of operations.
chose the abstract class if you are sure for some common behaviors need to share of all objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When should the method invokelater() be used?
What is difference between java and java ee?
Is string is a class in java?
What type of variable is error flag?
What data type is a string?
Which command from the jdk compiles a java program?
What are thread groups?
Why Java is not pure Object Oriented language?
What are different data structures in java?
What are the major drawbacks of external iteration?
What is pass by value?
What are implicit objects in java?
What is oop in java?
Is it possible to override private or static method in java?
What is json parser in java?