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
Explain jdk, jre and jvm?
What is a website container?
how its run?
What is difference between static and final?
Which is the class in java?
Difference between abstract and concrete class ?
what is the messsage u r going to get from an objectoriented programing?
What is the finalize method do?
What is floor in java?
What are peerless components in java programming?
How does predicate work in java?
Why string is a class?
What is command line argument in java?
What is array length?
What is the original name of java?